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.007347/0.007347, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001563/0.001563, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.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.588/2.588, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 63.91 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.236/1.238, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.00307/1.241, allocations: 1.211 MB / 1.167 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003043/1.241, allocations: 57.8 kB / 1.167 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.699e-05/1.241, allocations: 3.938 kB / 1.167 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.116e-05/1.241, allocations: 4 kB / 1.167 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001395/1.241, allocations: 19.84 kB / 1.167 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/1.242, allocations: 4 kB / 1.167 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/1.242, allocations: 19.92 kB / 1.167 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.367e-05/1.242, allocations: 3.984 kB / 1.167 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.533e-05/1.242, allocations: 4 kB / 1.167 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.504e-05/1.242, allocations: 8.734 kB / 1.167 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/1.242, allocations: 4 kB / 1.167 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.659e-05/1.242, allocations: 8 kB / 1.167 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/1.242, allocations: 48.39 kB / 1.167 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.243e-05/1.242, allocations: 43.72 kB / 1.168 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/1.243, allocations: 73.91 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.243, allocations: 0 / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.595e-06/1.243, allocations: 0 / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.967e-06/1.243, allocations: 0 / 1.168 GB, free: 2.273 MB / 0.8887 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.0006051/1.243, allocations: 426.8 kB / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/1.243, allocations: 16.86 kB / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.158e-05/1.243, allocations: 106 kB / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/1.243, allocations: 88.03 kB / 1.168 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/1.244, allocations: 275.3 kB / 1.168 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.032e-05/1.244, allocations: 154.5 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-05/1.244, allocations: 154.6 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.845e-05/1.244, allocations: 105 kB / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/1.244, allocations: 75.28 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.318e-05/1.244, allocations: 150.6 kB / 1.169 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.544e-05/1.244, allocations: 154.6 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.953e-05/1.244, allocations: 154.5 kB / 1.169 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/1.245, allocations: 497.8 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.192e-05/1.245, allocations: 175.6 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/1.245, allocations: 84.19 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/1.245, allocations: 79.22 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.024e-05/1.245, allocations: 109.8 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/1.245, allocations: 4 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001021/1.245, allocations: 41.52 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/1.245, allocations: 126.7 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/1.245, allocations: 231 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/1.245, allocations: 25.7 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.851e-05/1.245, allocations: 108 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.42e-06/1.245, allocations: 4 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.577e-05/1.246, allocations: 37.69 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.246, allocations: 334.8 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.931e-05/1.246, allocations: 51.97 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.693e-05/1.246, allocations: 61.08 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/1.246, allocations: 138 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.246, allocations: 0 / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003914/1.246, allocations: 186.1 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/1.246, allocations: 8 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.246, allocations: 0 / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/1.247, allocations: 0 / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.462e-06/1.247, allocations: 4.062 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/1.247, allocations: 0 / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.882e-05/1.247, allocations: 11.84 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/1.247, allocations: 4 kB / 1.172 GB, free: 13.94 MB / 0.9044 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.0001489/1.247, allocations: 205 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/1.247, allocations: 116.7 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.248e-05/1.247, allocations: 117.5 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.243e-05/1.247, allocations: 188.2 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.044e-05/1.247, allocations: 176.3 kB / 1.172 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.933e-05/1.247, allocations: 176.3 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/1.248, allocations: 445.1 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.423e-05/1.248, allocations: 105 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.65e-05/1.248, allocations: 104.9 kB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.952e-05/1.248, allocations: 180.3 kB / 1.173 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-05/1.248, allocations: 184.3 kB / 1.173 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.053e-05/1.248, allocations: 180.2 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.445e-05/1.248, allocations: 180.2 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/1.248, allocations: 331.5 kB / 1.174 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/1.248, allocations: 186 kB / 1.174 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/1.249, allocations: 184.2 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/1.249, allocations: 101.3 kB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/1.249, allocations: 188.2 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/1.249, allocations: 105 kB / 1.175 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001453/1.249, allocations: 156.6 kB / 1.175 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/1.249, allocations: 0 / 1.175 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002987/1.249, allocations: 19.94 kB / 1.175 GB, free: 10.16 MB / 0.9044 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.0005866/1.25, allocations: 0.8319 MB / 1.176 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001596/1.25, allocations: 71.97 kB / 1.176 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/1.25, allocations: 0 / 1.176 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/1.25, allocations: 0 / 1.176 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/1.251, allocations: 466.3 kB / 1.176 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/1.253, allocations: 2.138 MB / 1.178 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/1.253, allocations: 0.7119 MB / 1.179 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.326e-05/1.253, allocations: 11.98 kB / 1.179 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/1.253, allocations: 31.42 kB / 1.179 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/1.253, allocations: 0 / 1.179 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/1.277, allocations: 2.769 MB / 1.182 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.351/9.628, allocations: 7.875 kB / 1.182 GB, free: 3.117 MB / 0.9044 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