Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_latest_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.008402/0.008402, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001882/0.001882, allocations: 195.8 kB / 16.67 MB, free: 5.977 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.115/3.115, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001598, allocations: 68.11 kB / 1.054 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4465/0.4481, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.004/0.4522, allocations: 1.215 MB / 1.208 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004099/0.4527, allocations: 63.8 kB / 1.209 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.572e-05/0.4528, allocations: 0 / 1.209 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.769e-05/0.4529, allocations: 0 / 1.209 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.4531, allocations: 7.938 kB / 1.209 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.4533, allocations: 7.984 kB / 1.209 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.4534, allocations: 15.92 kB / 1.209 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.395e-05/0.4535, allocations: 7.984 kB / 1.209 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.634e-05/0.4536, allocations: 8 kB / 1.209 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.335e-05/0.4536, allocations: 8.688 kB / 1.209 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.4537, allocations: 0 / 1.209 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.4538, allocations: 15.98 kB / 1.209 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.4539, allocations: 48.44 kB / 1.209 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.072e-05/0.454, allocations: 39.69 kB / 1.209 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.4542, allocations: 71.92 kB / 1.209 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4542, allocations: 0 / 1.209 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4542, allocations: 0 / 1.209 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.996e-06/0.4542, allocations: 0 / 1.209 GB, free: 8.641 MB / 0.9669 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.0006407/0.4548, allocations: 426.8 kB / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.554e-05/0.4549, allocations: 16.62 kB / 1.209 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.142e-05/0.455, allocations: 110 kB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.4551, allocations: 88.03 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.4554, allocations: 267.3 kB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.239e-05/0.4555, allocations: 158.4 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-05/0.4555, allocations: 154.6 kB / 1.21 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.538e-05/0.4556, allocations: 109 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.4557, allocations: 75.28 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-05/0.4558, allocations: 150.6 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-05/0.4558, allocations: 154.5 kB / 1.21 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.475e-05/0.4559, allocations: 154.5 kB / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.4564, allocations: 0.4938 MB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.4565, allocations: 165.1 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.317e-05/0.4565, allocations: 80.14 kB / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.4566, allocations: 75.28 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.569e-05/0.4567, allocations: 113.8 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.853e-06/0.4567, allocations: 8 kB / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001113/0.4568, allocations: 33.61 kB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.4569, allocations: 130.7 kB / 1.212 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.4571, allocations: 227 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.4572, allocations: 25.7 kB / 1.212 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.574e-05/0.4573, allocations: 116 kB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-06/0.4573, allocations: 0 / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.311e-05/0.4574, allocations: 33.7 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4575, allocations: 338.8 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.182e-05/0.4576, allocations: 55.97 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.188e-05/0.4577, allocations: 55.95 kB / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.4579, allocations: 139.2 kB / 1.213 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4579, allocations: 0 / 1.213 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004176/0.4583, allocations: 173.4 kB / 1.213 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.4584, allocations: 4 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.4584, allocations: 3.984 kB / 1.213 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.4584, allocations: 0 / 1.213 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-06/0.4584, allocations: 4.062 kB / 1.213 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4584, allocations: 4 kB / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.921e-05/0.4585, allocations: 11.78 kB / 1.213 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.4585, allocations: 11.98 kB / 1.213 GB, free: 4.309 MB / 0.9669 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 0.0001522/0.4587, allocations: 205 kB / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.4588, allocations: 116.7 kB / 1.213 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/0.4589, allocations: 113.5 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.659e-05/0.4589, allocations: 192.1 kB / 1.213 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.216e-05/0.459, allocations: 176.3 kB / 1.213 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.297e-05/0.4591, allocations: 180.3 kB / 1.214 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.4595, allocations: 441.6 kB / 1.214 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.238e-05/0.4595, allocations: 105 kB / 1.214 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.005e-05/0.4596, allocations: 112.9 kB / 1.214 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001055/0.4597, allocations: 180.3 kB / 1.214 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.4599, allocations: 176.5 kB / 1.215 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001271/0.46, allocations: 184.2 kB / 1.215 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001159/0.4601, allocations: 184.3 kB / 1.215 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.4604, allocations: 323.5 kB / 1.215 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.4605, allocations: 189.9 kB / 1.215 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.4606, allocations: 192.1 kB / 1.216 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.4607, allocations: 101 kB / 1.216 GB, free: 1 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.4609, allocations: 184.2 kB / 1.216 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.461, allocations: 105 kB / 1.216 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001718/0.4612, allocations: 160.6 kB / 1.216 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4612, allocations: 0 / 1.216 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003406/0.4616, allocations: 24 kB / 1.216 GB, free: 0.5234 MB / 0.9669 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.0007458/0.4623, allocations: 0.8203 MB / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001824/0.4625, allocations: 75.97 kB / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4625, allocations: 0 / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.438e-06/0.4625, allocations: 0 / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.4631, allocations: 460.7 kB / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.4657, allocations: 2.14 MB / 1.22 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.4662, allocations: 0.7041 MB / 1.22 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.791e-05/0.4662, allocations: 11.98 kB / 1.22 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.579e-05/0.4663, allocations: 35.41 kB / 1.22 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of SimCode: time 4.5e-07/0.4663, allocations: 0 / 1.22 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.4924, allocations: 2.815 MB / 1.223 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.36/8.853, allocations: 10.47 kB / 1.223 GB, free: 9.465 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches