Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 102.5 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.00138, allocations: 195.7 kB / 19.36 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.671/2.671, allocations: 437.1 MB / 0.7171 GB, free: 4.039 MB / 0.5762 GB " [Timeout remaining time 177] 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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 63.89 kB / 1.027 GB, free: 7.844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8656/0.8678, allocations: 151.6 MB / 1.175 GB, free: 3.5 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003018/0.8708, allocations: 1.644 MB / 1.176 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.8724, allocations: 0.7946 MB / 1.177 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.984e-05/0.8725, allocations: 0 / 1.177 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.58e-05/0.8725, allocations: 7.875 kB / 1.177 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.832e-05/0.8726, allocations: 27.73 kB / 1.177 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000686/0.8733, allocations: 159.6 kB / 1.177 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.8736, allocations: 151.5 kB / 1.177 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.8737, allocations: 25.11 kB / 1.177 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.8738, allocations: 63.83 kB / 1.177 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.874, allocations: 79.7 kB / 1.178 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.874, allocations: 12 kB / 1.178 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.8743, allocations: 103.8 kB / 1.178 GB, free: 440 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.8743, allocations: 31.91 kB / 1.178 GB, free: 408 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.871e-05/0.8744, allocations: 67.69 kB / 1.178 GB, free: 340 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.8748, allocations: 209.2 kB / 1.178 GB, free: 132 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.8748, allocations: 0 / 1.178 GB, free: 132 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8748, allocations: 0 / 1.178 GB, free: 132 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.8748, allocations: 4 kB / 1.178 GB, free: 128 kB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009515/0.8758, allocations: 0.5444 MB / 1.178 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.8758, allocations: 12.56 kB / 1.178 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.992e-05/0.8759, allocations: 38.75 kB / 1.179 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.8759, allocations: 12.88 kB / 1.179 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.8761, allocations: 186.7 kB / 1.179 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.8762, allocations: 8.375 kB / 1.179 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.8762, allocations: 4.375 kB / 1.179 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004874/0.8767, allocations: 149.6 kB / 1.179 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.8767, allocations: 0 / 1.179 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.8767, allocations: 0 / 1.179 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.8767, allocations: 7.984 kB / 1.179 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/0.8772, allocations: 103.9 kB / 1.179 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008252/0.878, allocations: 376.6 kB / 1.179 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/0.8784, allocations: 110.4 kB / 1.179 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/0.8788, allocations: 80.78 kB / 1.18 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.8788, allocations: 12 kB / 1.18 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005026/0.8793, allocations: 135.3 kB / 1.18 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.8793, allocations: 0 / 1.18 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.001198/0.8805, allocations: 309.3 kB / 1.18 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.8806, allocations: 55.41 kB / 1.18 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.8808, allocations: 146.5 kB / 1.18 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.8808, allocations: 33.64 kB / 1.18 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/0.8809, allocations: 108.2 kB / 1.18 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.881, allocations: 19.86 kB / 1.18 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/0.881, allocations: 29.7 kB / 1.18 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.8812, allocations: 326.8 kB / 1.181 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.8813, allocations: 43.97 kB / 1.181 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.8815, allocations: 74.5 kB / 1.181 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.8818, allocations: 125 kB / 1.181 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.8818, allocations: 4.375 kB / 1.181 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003686/0.8822, allocations: 157.5 kB / 1.181 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.8822, allocations: 4 kB / 1.181 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.8822, allocations: 4 kB / 1.181 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.8822, allocations: 3.938 kB / 1.181 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.8824, allocations: 27.91 kB / 1.181 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.8824, allocations: 0 / 1.181 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.8825, allocations: 23.88 kB / 1.181 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.8826, allocations: 7.938 kB / 1.181 GB, free: 12.6 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.000131/0.8827, allocations: 129.8 kB / 1.181 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.8827, allocations: 7.953 kB / 1.181 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.8828, allocations: 16.7 kB / 1.181 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.8828, allocations: 0 / 1.181 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.8828, allocations: 0 / 1.181 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.8828, allocations: 112 / 1.181 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.884, allocations: 0.5295 MB / 1.182 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.884, allocations: 0 / 1.182 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.077e-05/0.8841, allocations: 15.98 kB / 1.182 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.8841, allocations: 4 kB / 1.182 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.8841, allocations: 0 / 1.182 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.8841, allocations: 7.938 kB / 1.182 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8841, allocations: 0 / 1.182 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008357/0.885, allocations: 327.4 kB / 1.182 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.885, allocations: 92.98 kB / 1.182 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.8851, allocations: 7.984 kB / 1.182 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.8853, allocations: 23.91 kB / 1.182 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.8853, allocations: 8 kB / 1.182 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.8854, allocations: 7.984 kB / 1.182 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.576e-05/0.8855, allocations: 114.1 kB / 1.182 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8855, allocations: 0 / 1.182 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003385/0.8858, allocations: 47.89 kB / 1.182 GB, free: 11.18 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.001525/0.8873, allocations: 0.9222 MB / 1.183 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005519/0.8879, allocations: 147.8 kB / 1.183 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.8879, allocations: 0 / 1.183 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003478/0.8883, allocations: 96.09 kB / 1.184 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.8886, allocations: 13.34 kB / 1.184 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.8913, allocations: 1.781 MB / 1.185 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.8918, allocations: 0.7002 MB / 1.186 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.374e-05/0.8918, allocations: 7.984 kB / 1.186 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.832e-05/0.8919, allocations: 35.42 kB / 1.186 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/0.8919, allocations: 0 / 1.186 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/0.9186, allocations: 3.486 MB / 1.189 GB, free: 4.004 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.244/9.163, allocations: 5.562 kB / 1.189 GB, free: 4 MB / 0.9044 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.068344434956089]