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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.0009755/0.0009758, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007794/0.007794, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.361/1.361, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.729/2.729, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004689/0.0004689, allocations: 8.156 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5203/0.5208, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002862/0.5237, allocations: 1.357 MB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002208/0.526, allocations: 0.7792 MB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.5262, allocations: 11.88 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.374e-05/0.5263, allocations: 0 / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.5265, allocations: 23.78 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.5276, allocations: 131.7 kB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003397/0.5279, allocations: 143.5 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.5281, allocations: 25.09 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.5284, allocations: 51.84 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.5286, allocations: 75.72 kB / 1.061 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.5286, allocations: 8 kB / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003545/0.529, allocations: 91.84 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.571e-05/0.5291, allocations: 27.89 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.5292, allocations: 85.41 kB / 1.062 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005159/0.5297, allocations: 195.7 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.5298, allocations: 0 / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.487e-06/0.5298, allocations: 0 / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.5298, allocations: 0 / 1.062 GB, free: 1.855 MB / 0.8106 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.00139/0.5312, allocations: 0.5291 MB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 8.196e-05/0.5313, allocations: 15.97 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.5314, allocations: 38.69 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.35e-05/0.5315, allocations: 8.844 kB / 1.062 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.5317, allocations: 184.1 kB / 1.062 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.164e-05/0.5318, allocations: 4.375 kB / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.414e-05/0.5319, allocations: 12.38 kB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006039/0.5325, allocations: 153.7 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.5325, allocations: 3.984 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.5325, allocations: 4 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.5326, allocations: 8 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004822/0.533, allocations: 123.8 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.5342, allocations: 396.5 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004603/0.5347, allocations: 118.5 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003786/0.5351, allocations: 100.9 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.5352, allocations: 3.938 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005793/0.5357, allocations: 155.2 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 2.695e-06/0.5358, allocations: 0 / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.001433/0.5372, allocations: 361.2 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.83e-05/0.5373, allocations: 55.39 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.5375, allocations: 150.7 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.5375, allocations: 29.7 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.5377, allocations: 104.4 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.5377, allocations: 27.64 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.5378, allocations: 17.72 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001949/0.538, allocations: 326.8 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.5381, allocations: 43.97 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.5383, allocations: 92.19 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.5387, allocations: 141 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.5388, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004538/0.5392, allocations: 169.4 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.5393, allocations: 4 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.5393, allocations: 8.125 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.5393, allocations: 0 / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.5395, allocations: 24.06 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.5395, allocations: 7.938 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.5396, allocations: 23.89 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.5397, allocations: 11.92 kB / 1.065 GB, free: 14.17 MB / 0.8262 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.0001589/0.5398, allocations: 117.8 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.5399, allocations: 11.91 kB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.025e-05/0.5399, allocations: 16.7 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.5399, allocations: 0 / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.54, allocations: 4 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.54, allocations: 0 / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.5412, allocations: 0.5607 MB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5413, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.59e-05/0.5414, allocations: 19.92 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.5414, allocations: 0 / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.5414, allocations: 4.469 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.5414, allocations: 7.938 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/0.5415, allocations: 3.984 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009498/0.5424, allocations: 363.1 kB / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-05/0.5425, allocations: 85.02 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.5425, allocations: 7.984 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.5428, allocations: 31.91 kB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/0.5429, allocations: 7.984 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.5429, allocations: 8 kB / 1.066 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001149/0.543, allocations: 111.2 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.01e-07/0.543, allocations: 0 / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004397/0.5435, allocations: 44 kB / 1.066 GB, free: 12.68 MB / 0.8262 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.001846/0.5453, allocations: 0.9476 MB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006639/0.546, allocations: 171.8 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/0.546, allocations: 8 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000421/0.5465, allocations: 104.1 kB / 1.068 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.5468, allocations: 11.94 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.5499, allocations: 1.836 MB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.5503, allocations: 0.7004 MB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.95e-05/0.5503, allocations: 8 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.5505, allocations: 31.42 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of SimCode: time 9.22e-07/0.5505, allocations: 0 / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.5686, allocations: 3.089 MB / 1.073 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003497/0.5691, allocations: 280.3 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.435, allocations: 1 kB / 1.073 GB, free: 5.449 MB / 0.8262 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