Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.01036/0.01036, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.002265/0.002265, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.495/2.495, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.91 kB / 1.018 GB, free: 9.953 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9643/0.9657, allocations: 151.6 MB / 1.166 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003018/0.9687, allocations: 1.498 MB / 1.168 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.9701, allocations: 0.7245 MB / 1.168 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.9701, allocations: 0 / 1.168 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.29e-05/0.9702, allocations: 7.922 kB / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.763e-05/0.9703, allocations: 11.88 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005854/0.9708, allocations: 123.6 kB / 1.168 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.971, allocations: 83.7 kB / 1.169 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.504e-05/0.9711, allocations: 11.98 kB / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.88e-05/0.9712, allocations: 35.92 kB / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.205e-05/0.9713, allocations: 43.81 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.9713, allocations: 4 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.9715, allocations: 95.84 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.314e-05/0.9715, allocations: 15.98 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.46e-05/0.9716, allocations: 35.8 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003782/0.972, allocations: 145.9 kB / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.618e-05/0.972, allocations: 0 / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.513e-06/0.972, allocations: 0 / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.972, allocations: 0 / 1.169 GB, free: 0.9648 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006877/0.9727, allocations: 412.9 kB / 1.169 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.9728, allocations: 12.91 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.161e-05/0.9728, allocations: 38.69 kB / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.9729, allocations: 12.84 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.973, allocations: 172.3 kB / 1.17 GB, free: 236 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.9731, allocations: 384 / 1.17 GB, free: 236 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.9731, allocations: 8.359 kB / 1.17 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.9733, allocations: 73.78 kB / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.9733, allocations: 0 / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.9733, allocations: 0 / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.9734, allocations: 3.938 kB / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.9735, allocations: 39.91 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007253/0.9742, allocations: 324.7 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.9744, allocations: 42.56 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.033e-05/0.9745, allocations: 32.97 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.9745, allocations: 3.938 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.9748, allocations: 91.22 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.9748, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004035/0.9752, allocations: 129.6 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.9753, allocations: 59.39 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.9754, allocations: 121.8 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.9754, allocations: 29.7 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.9756, allocations: 96.12 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.9756, allocations: 15.88 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/0.9757, allocations: 29.7 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002139/0.9759, allocations: 318.8 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.511e-05/0.976, allocations: 31.97 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.9762, allocations: 50.88 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.9764, allocations: 74.55 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.9764, allocations: 0 / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000255/0.9767, allocations: 117.5 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.9767, allocations: 4 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.9767, allocations: 0 / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.9767, allocations: 8.062 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.884e-05/0.9768, allocations: 15.92 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.9768, allocations: 0 / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.961e-05/0.9769, allocations: 7.938 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.9769, allocations: 8 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 9.798e-05/0.977, allocations: 117.8 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.9771, allocations: 11.89 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.9771, allocations: 12.31 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.9771, allocations: 8 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.9771, allocations: 0 / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.9771, allocations: 0 / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.9777, allocations: 378.4 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.9777, allocations: 0 / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.9778, allocations: 4 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.9778, allocations: 4 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.9778, allocations: 3.984 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.9778, allocations: 7.938 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.9778, allocations: 4 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.9781, allocations: 207.4 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.968e-05/0.9782, allocations: 92.94 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.9782, allocations: 0 / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.682e-05/0.9783, allocations: 7.938 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.9783, allocations: 7.984 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.9784, allocations: 8 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.132e-05/0.9784, allocations: 91.27 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9784, allocations: 0 / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000301/0.9787, allocations: 39.94 kB / 1.172 GB, free: 13.29 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009334/0.9797, allocations: 0.8072 MB / 1.173 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002475/0.9799, allocations: 75.95 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.9799, allocations: 3.938 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.9801, allocations: 35.92 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.9803, allocations: 18.72 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.9821, allocations: 1.477 MB / 1.174 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.9824, allocations: 0.6907 MB / 1.175 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.508e-05/0.9825, allocations: 11.97 kB / 1.175 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.9825, allocations: 23.38 kB / 1.175 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.9826, allocations: 0 / 1.175 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/1.005, allocations: 2.64 MB / 1.178 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.979, allocations: 7.438 kB / 1.178 GB, free: 7.496 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed