Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.00612/0.00612, allocations: 99.33 kB / 15.73 MB, free: 6.062 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.001662/0.001662, allocations: 195.7 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.559/2.559, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 67.89 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2643, allocations: 162.3 MB / 1.242 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002281/0.2666, allocations: 1.583 MB / 1.243 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.2678, allocations: 0.7829 MB / 1.244 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.694e-05/0.2678, allocations: 0 / 1.244 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.2679, allocations: 7.875 kB / 1.244 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.577e-05/0.268, allocations: 23.78 kB / 1.244 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.2684, allocations: 147.6 kB / 1.244 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.2686, allocations: 135.6 kB / 1.244 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.356e-05/0.2687, allocations: 23.91 kB / 1.244 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.209e-05/0.2688, allocations: 55.83 kB / 1.245 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.2689, allocations: 71.78 kB / 1.245 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.2689, allocations: 12 kB / 1.245 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.2691, allocations: 107.8 kB / 1.245 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.795e-05/0.2692, allocations: 31.91 kB / 1.245 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.252e-05/0.2692, allocations: 59.69 kB / 1.245 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.2695, allocations: 191.3 kB / 1.245 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2695, allocations: 4 kB / 1.245 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of FrontEnd: time 7.91e-07/0.2695, allocations: 0 / 1.245 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.2695, allocations: 0 / 1.245 GB, free: 6.566 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006712/0.2702, allocations: 486.2 kB / 1.245 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.2702, allocations: 12.03 kB / 1.245 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.714e-05/0.2703, allocations: 42.73 kB / 1.246 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.2703, allocations: 12.84 kB / 1.246 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.2704, allocations: 184.7 kB / 1.246 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.2705, allocations: 4.375 kB / 1.246 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.2705, allocations: 11.94 kB / 1.246 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.2707, allocations: 97.61 kB / 1.246 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2707, allocations: 3.938 kB / 1.246 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.2708, allocations: 4 kB / 1.246 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2708, allocations: 8 kB / 1.246 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.271, allocations: 59.95 kB / 1.246 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007475/0.2717, allocations: 364.7 kB / 1.246 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.2719, allocations: 70.48 kB / 1.246 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.272, allocations: 56.83 kB / 1.246 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.2721, allocations: 4.141 kB / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.2723, allocations: 95.36 kB / 1.246 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.2723, allocations: 0 / 1.246 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0005213/0.2728, allocations: 217.7 kB / 1.247 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.2729, allocations: 63.48 kB / 1.247 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.273, allocations: 143.8 kB / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.273, allocations: 29.7 kB / 1.247 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.2731, allocations: 100.3 kB / 1.247 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.2731, allocations: 19.95 kB / 1.247 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.2732, allocations: 41.64 kB / 1.247 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2733, allocations: 322.8 kB / 1.247 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.2734, allocations: 39.97 kB / 1.247 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.2735, allocations: 80.2 kB / 1.247 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.2738, allocations: 116.2 kB / 1.248 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2738, allocations: 0 / 1.248 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003177/0.2741, allocations: 161.4 kB / 1.248 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.2741, allocations: 12.09 kB / 1.248 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2741, allocations: 0 / 1.248 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2742, allocations: 4 kB / 1.248 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.2743, allocations: 23.91 kB / 1.248 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2743, allocations: 0 / 1.248 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.465e-05/0.2744, allocations: 11.94 kB / 1.248 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.2744, allocations: 11.98 kB / 1.248 GB, free: 3.434 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.441e-05/0.2745, allocations: 123.7 kB / 1.248 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.2745, allocations: 15.91 kB / 1.248 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.2746, allocations: 8.719 kB / 1.248 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2746, allocations: 7.938 kB / 1.248 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2746, allocations: 0 / 1.248 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.2746, allocations: 3.984 kB / 1.248 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005711/0.2752, allocations: 450.4 kB / 1.248 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2752, allocations: 0 / 1.248 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.118e-05/0.2753, allocations: 19.92 kB / 1.248 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2753, allocations: 0 / 1.248 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.2753, allocations: 7.984 kB / 1.248 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2753, allocations: 4 kB / 1.248 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2753, allocations: 0 / 1.248 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/0.2757, allocations: 267.4 kB / 1.249 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.2757, allocations: 93 kB / 1.249 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.2758, allocations: 3.984 kB / 1.249 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.2759, allocations: 8 kB / 1.249 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.2759, allocations: 7.984 kB / 1.249 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.2759, allocations: 7.984 kB / 1.249 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.794e-05/0.276, allocations: 104.8 kB / 1.249 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.276, allocations: 0 / 1.249 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002738/0.2763, allocations: 55.8 kB / 1.249 GB, free: 2.172 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008801/0.2772, allocations: 0.866 MB / 1.25 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003011/0.2775, allocations: 116 kB / 1.25 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2775, allocations: 0 / 1.25 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.2777, allocations: 59.91 kB / 1.25 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.2779, allocations: 11.98 kB / 1.25 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4478/0.7257, allocations: 1.708 MB / 1.252 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.923e-05/0.7258, allocations: 0.6967 MB / 1.252 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.65e-05/0.7259, allocations: 7.25 kB / 1.252 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.726, allocations: 28.81 kB / 1.252 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of SimCode: time 7.42e-07/0.726, allocations: 0 / 1.252 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.075/3.801, allocations: 3.391 MB / 1.256 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.54/27.34, allocations: 6.719 kB / 1.256 GB, free: 12.65 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches