Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_10_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_10_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.482/2.482, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 79.88 kB / 0.8689 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.606/0.6078, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002599/0.6104, allocations: 1.28 MB / 1.018 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002626/0.6107, allocations: 55.83 kB / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.105e-05/0.6108, allocations: 0 / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.6108, allocations: 3.984 kB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.611, allocations: 7.938 kB / 1.018 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.6111, allocations: 19.97 kB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.629e-05/0.6112, allocations: 8 kB / 1.018 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.6113, allocations: 3.938 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.112e-05/0.6113, allocations: 7.984 kB / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.418e-05/0.6114, allocations: 25.42 kB / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.6114, allocations: 0 / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.01e-05/0.6115, allocations: 4 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.139e-05/0.6116, allocations: 52.44 kB / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.6116, allocations: 39.69 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.6118, allocations: 61.97 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6118, allocations: 7.984 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6118, allocations: 0 / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.6118, allocations: 0 / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003988/0.6122, allocations: 430.7 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.6122, allocations: 8.031 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.251e-05/0.6123, allocations: 114 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.364e-05/0.6124, allocations: 88.11 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.6125, allocations: 274.5 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.027e-05/0.6126, allocations: 150.6 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/0.6126, allocations: 154.5 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.242e-05/0.6127, allocations: 101 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.6127, allocations: 79.28 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/0.6128, allocations: 150.6 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-05/0.6128, allocations: 150.6 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.547e-05/0.6129, allocations: 158.6 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.6132, allocations: 0.4938 MB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.052e-05/0.6132, allocations: 173.1 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.6133, allocations: 84.14 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.6133, allocations: 75.28 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.6133, allocations: 105.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 2.094e-06/0.6134, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.655e-05/0.6134, allocations: 41.45 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.6135, allocations: 130.6 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.6137, allocations: 235 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.6137, allocations: 25.7 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.6138, allocations: 104 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-06/0.6138, allocations: 0 / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.6139, allocations: 45.69 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.868e-05/0.614, allocations: 330.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.11e-05/0.614, allocations: 55.95 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.388e-05/0.6141, allocations: 55.97 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.6143, allocations: 136 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6143, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002939/0.6146, allocations: 181.3 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.6146, allocations: 8 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.6146, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.6146, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-07/0.6146, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.6146, allocations: 4.062 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.6147, allocations: 19.69 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.6147, allocations: 7.984 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.894e-05/0.6148, allocations: 205.6 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.6149, allocations: 108.9 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/0.6149, allocations: 121.5 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.745e-05/0.615, allocations: 180.3 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.958e-05/0.615, allocations: 180.3 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.865e-05/0.6151, allocations: 184.1 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.6153, allocations: 437.2 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.767e-05/0.6153, allocations: 104.9 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.715e-05/0.6154, allocations: 101 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-05/0.6154, allocations: 184.2 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/0.6155, allocations: 188.2 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.466e-05/0.6155, allocations: 176.3 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-05/0.6156, allocations: 180.2 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.6157, allocations: 327.5 kB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.657e-05/0.6158, allocations: 193.9 kB / 1.025 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.759e-05/0.6159, allocations: 176.3 kB / 1.025 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.886e-05/0.6159, allocations: 109.2 kB / 1.025 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.616, allocations: 176.3 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.616, allocations: 116.9 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001069/0.6162, allocations: 156.7 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6162, allocations: 0 / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002381/0.6164, allocations: 19.94 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003642/0.6168, allocations: 0.8281 MB / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.6169, allocations: 83.95 kB / 1.027 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.6169, allocations: 0 / 1.027 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.953e-06/0.6169, allocations: 3.938 kB / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.6173, allocations: 459.6 kB / 1.027 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.6191, allocations: 2.136 MB / 1.029 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.6194, allocations: 0.708 MB / 1.03 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.984e-05/0.6194, allocations: 12.02 kB / 1.03 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.6195, allocations: 35.42 kB / 1.03 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6195, allocations: 7.875 kB / 1.03 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.971/2.59, allocations: 2.655 MB / 1.033 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/2.591, allocations: 210.2 kB / 1.033 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/4.309, allocations: 3.625 kB / 1.033 GB, free: 1.852 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches