Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.008161/0.008161, allocations: 103.6 kB / 15.73 MB, free: 6.008 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.001638/0.001638, allocations: 197.4 kB / 16.68 MB, free: 5.934 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.678/2.678, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 67.89 kB / 1.054 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9159/0.9172, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002811/0.9201, allocations: 1.641 MB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.9215, allocations: 0.7868 MB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.9216, allocations: 0 / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.644e-05/0.9216, allocations: 11.86 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.723e-05/0.9218, allocations: 19.8 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006305/0.9224, allocations: 155.6 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.9226, allocations: 151.5 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.9227, allocations: 25.11 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.9229, allocations: 71.75 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.923, allocations: 75.72 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.923, allocations: 12 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.9233, allocations: 95.92 kB / 1.21 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.663e-05/0.9233, allocations: 47.81 kB / 1.21 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.9234, allocations: 59.72 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.9237, allocations: 213.6 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9237, allocations: 0 / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9237, allocations: 0 / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.9237, allocations: 0 / 1.211 GB, free: 10.2 MB / 0.9356 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.0007819/0.9245, allocations: 0.533 MB / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.9245, allocations: 12.02 kB / 1.211 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.768e-05/0.9246, allocations: 38.75 kB / 1.211 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.9247, allocations: 16.75 kB / 1.211 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.9248, allocations: 192.1 kB / 1.211 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.9248, allocations: 8.375 kB / 1.211 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.9249, allocations: 4.375 kB / 1.211 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004395/0.9253, allocations: 137.7 kB / 1.211 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.9253, allocations: 0 / 1.211 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.9253, allocations: 4 kB / 1.211 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.9254, allocations: 4 kB / 1.211 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000385/0.9257, allocations: 103.9 kB / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007599/0.9265, allocations: 380.5 kB / 1.212 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.9269, allocations: 98.5 kB / 1.212 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.9272, allocations: 80.8 kB / 1.212 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.9272, allocations: 8.109 kB / 1.212 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004326/0.9277, allocations: 151.3 kB / 1.212 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.744e-06/0.9277, allocations: 0 / 1.212 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.001029/0.9287, allocations: 313.2 kB / 1.213 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.9288, allocations: 51.41 kB / 1.213 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.9289, allocations: 150.3 kB / 1.213 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.9289, allocations: 30.08 kB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/0.929, allocations: 100.4 kB / 1.213 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.929, allocations: 23.66 kB / 1.213 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.9291, allocations: 33.7 kB / 1.213 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.9292, allocations: 330.7 kB / 1.213 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.9293, allocations: 39.97 kB / 1.213 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.9294, allocations: 81.11 kB / 1.213 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.9297, allocations: 121 kB / 1.213 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.9297, allocations: 4 kB / 1.213 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003356/0.9301, allocations: 161.3 kB / 1.214 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.9301, allocations: 4 kB / 1.214 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.9301, allocations: 4 kB / 1.214 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.9301, allocations: 0 / 1.214 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.9303, allocations: 19.98 kB / 1.214 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.9303, allocations: 8.125 kB / 1.214 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.9304, allocations: 19.92 kB / 1.214 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.9304, allocations: 7.938 kB / 1.214 GB, free: 6.688 MB / 0.9356 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.0001007/0.9305, allocations: 129.8 kB / 1.214 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.9306, allocations: 7.906 kB / 1.214 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.566e-05/0.9306, allocations: 12.72 kB / 1.214 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.9306, allocations: 0 / 1.214 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.9306, allocations: 0 / 1.214 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9306, allocations: 4 kB / 1.214 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009531/0.9316, allocations: 0.5177 MB / 1.214 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.9316, allocations: 4 kB / 1.214 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.819e-05/0.9317, allocations: 19.98 kB / 1.214 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.9317, allocations: 0 / 1.214 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.9317, allocations: 3.984 kB / 1.214 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.9317, allocations: 3.938 kB / 1.214 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9318, allocations: 0 / 1.214 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007089/0.9325, allocations: 327.2 kB / 1.215 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.9325, allocations: 92.89 kB / 1.215 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.9326, allocations: 4.188 kB / 1.215 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.9328, allocations: 27.91 kB / 1.215 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.9328, allocations: 15.92 kB / 1.215 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.9329, allocations: 4 kB / 1.215 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001037/0.933, allocations: 107.2 kB / 1.215 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.91e-07/0.933, allocations: 3.938 kB / 1.215 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000338/0.9333, allocations: 51.89 kB / 1.215 GB, free: 5.258 MB / 0.9356 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.001358/0.9347, allocations: 0.9275 MB / 1.216 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005069/0.9352, allocations: 139.9 kB / 1.216 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.9352, allocations: 8.25 kB / 1.216 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003065/0.9355, allocations: 91.84 kB / 1.216 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.9358, allocations: 11.94 kB / 1.216 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.9381, allocations: 1.774 MB / 1.218 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.9383, allocations: 0.7117 MB / 1.219 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.051e-05/0.9384, allocations: 4 kB / 1.219 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.937e-05/0.9385, allocations: 31.42 kB / 1.219 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.9385, allocations: 0 / 1.219 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.9589, allocations: 3.544 MB / 1.222 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/8.56, allocations: 18.48 kB / 1.222 GB, free: 14.02 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches