Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_9_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.001201/0.001201, 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.001232/0.001232, 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 72.06 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6679/0.6692, allocations: 140.4 MB / 0.9492 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002127/0.6714, allocations: 1.281 MB / 0.9505 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002218/0.6717, allocations: 55.44 kB / 0.9505 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.981e-05/0.6717, allocations: 1.188 kB / 0.9505 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.6717, allocations: 0 / 0.9505 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.6719, allocations: 1.312 kB / 0.9505 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.672, allocations: 16.88 kB / 0.9505 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.254e-05/0.6721, allocations: 16.59 kB / 0.9506 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.6721, allocations: 1.781 kB / 0.9506 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.896e-05/0.6722, allocations: 15.81 kB / 0.9506 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.6723, allocations: 11.56 kB / 0.9506 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.6723, allocations: 0 / 0.9506 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.504e-05/0.6723, allocations: 8.031 kB / 0.9506 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.645e-05/0.6724, allocations: 44.53 kB / 0.9506 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.6725, allocations: 39.81 kB / 0.9507 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.6726, allocations: 79.58 kB / 0.9508 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.6726, allocations: 5.25 kB / 0.9508 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6726, allocations: 0 / 0.9508 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.6726, allocations: 4 kB / 0.9508 GB, free: 7.949 MB / 0.7169 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.0003678/0.673, allocations: 423.8 kB / 0.9512 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.673, allocations: 8.281 kB / 0.9512 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.572e-05/0.6731, allocations: 107.2 kB / 0.9513 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.959e-05/0.6731, allocations: 87.69 kB / 0.9514 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.6733, allocations: 269.2 kB / 0.9516 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.6733, allocations: 150.6 kB / 0.9518 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.6733, allocations: 154.6 kB / 0.9519 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.048e-05/0.6734, allocations: 102.5 kB / 0.952 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.6734, allocations: 79.27 kB / 0.9521 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.6734, allocations: 158.5 kB / 0.9522 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.6735, allocations: 156.1 kB / 0.9524 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.115e-05/0.6735, allocations: 154.6 kB / 0.9525 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.6737, allocations: 0.4926 MB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.926e-05/0.6737, allocations: 166.4 kB / 0.9532 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.593e-05/0.6738, allocations: 80.14 kB / 0.9532 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.6738, allocations: 87.22 kB / 0.9533 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.6738, allocations: 107 kB / 0.9534 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.844e-06/0.6738, allocations: 0 / 0.9534 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.261e-05/0.6739, allocations: 42.22 kB / 0.9535 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.6739, allocations: 126.7 kB / 0.9536 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.6741, allocations: 225.1 kB / 0.9538 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.6741, allocations: 29.69 kB / 0.9538 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.6742, allocations: 114.6 kB / 0.9539 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-06/0.6742, allocations: 1.062 kB / 0.9539 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.6742, allocations: 35.02 kB / 0.954 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.6743, allocations: 332 kB / 0.9543 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.656e-05/0.6744, allocations: 55.64 kB / 0.9543 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-05/0.6744, allocations: 58.47 kB / 0.9544 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.6746, allocations: 137.6 kB / 0.9545 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.6746, allocations: 0 / 0.9545 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000266/0.6749, allocations: 177.1 kB / 0.9547 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.6749, allocations: 8.5 kB / 0.9547 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.6749, allocations: 1.438 kB / 0.9547 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.6749, allocations: 0 / 0.9547 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.6749, allocations: 0 / 0.9547 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.675, allocations: 1.5 kB / 0.9547 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.079e-05/0.675, allocations: 17.67 kB / 0.9547 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.675, allocations: 9.297 kB / 0.9547 GB, free: 4.09 MB / 0.7169 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 7.624e-05/0.6751, allocations: 205.6 kB / 0.9549 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.6751, allocations: 121 kB / 0.9551 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.6752, allocations: 113.5 kB / 0.9552 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.408e-05/0.6752, allocations: 181.8 kB / 0.9553 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.539e-05/0.6752, allocations: 180.3 kB / 0.9555 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.169e-05/0.6753, allocations: 185.4 kB / 0.9557 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.6754, allocations: 441.3 kB / 0.9561 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.6754, allocations: 102.3 kB / 0.9562 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.541e-05/0.6755, allocations: 108.9 kB / 0.9563 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.227e-05/0.6755, allocations: 177.8 kB / 0.9565 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.6755, allocations: 178.1 kB / 0.9566 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.253e-05/0.6755, allocations: 180.2 kB / 0.9568 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.559e-05/0.6756, allocations: 185.5 kB / 0.957 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.528e-05/0.6756, allocations: 317.7 kB / 0.9573 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.6757, allocations: 198.2 kB / 0.9575 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/0.6758, allocations: 181.4 kB / 0.9577 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-05/0.6758, allocations: 114.3 kB / 0.9578 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.6759, allocations: 189.7 kB / 0.9579 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.6759, allocations: 105 kB / 0.958 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.899e-05/0.676, allocations: 161.6 kB / 0.9582 GB, free: 436 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.676, allocations: 0 / 0.9582 GB, free: 436 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002411/0.6762, allocations: 21.12 kB / 0.9582 GB, free: 432 kB / 0.7169 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.0003393/0.6766, allocations: 0.8344 MB / 0.959 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001485/0.6767, allocations: 79.92 kB / 0.9591 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6767, allocations: 0 / 0.9591 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.6767, allocations: 0 / 0.9591 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.6771, allocations: 467.7 kB / 0.9596 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.6791, allocations: 2.122 MB / 0.9616 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.6794, allocations: 0.7072 MB / 0.9623 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.102e-05/0.6794, allocations: 9.578 kB / 0.9623 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.6795, allocations: 33.73 kB / 0.9624 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.6795, allocations: 0 / 0.9624 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.6986, allocations: 2.646 MB / 0.9649 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/0.6988, allocations: 210.9 kB / 0.9651 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.479, allocations: 4.375 kB / 0.9652 GB, free: 11.22 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches