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.008075/0.008075, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001359/0.001359, allocations: 198.5 kB / 16.68 MB, free: 5.926 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.409/1.409, 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.622/2.622, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 71.83 kB / 1.054 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8005/0.8019, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002952/0.8048, allocations: 1.633 MB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.8064, allocations: 0.7984 MB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.699e-05/0.8065, allocations: 0 / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.244e-05/0.8065, allocations: 7.875 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.451e-05/0.8066, allocations: 27.72 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006594/0.8073, allocations: 147.6 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.8075, allocations: 155.5 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.8076, allocations: 25.09 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.8078, allocations: 59.84 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.8079, allocations: 87.64 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.8079, allocations: 12 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000231/0.8082, allocations: 99.91 kB / 1.21 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.626e-05/0.8082, allocations: 31.91 kB / 1.21 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.301e-05/0.8083, allocations: 67.69 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.8086, allocations: 213.6 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.8086, allocations: 0 / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8087, allocations: 0 / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.8087, allocations: 0 / 1.211 GB, free: 10.21 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.0008055/0.8095, allocations: 0.533 MB / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.8095, allocations: 12.03 kB / 1.211 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.679e-05/0.8096, allocations: 38.73 kB / 1.211 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.8096, allocations: 16.75 kB / 1.211 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.8098, allocations: 182.6 kB / 1.211 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.8098, allocations: 8.375 kB / 1.211 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.8098, allocations: 4.375 kB / 1.211 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.8103, allocations: 149.6 kB / 1.211 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.8103, allocations: 3.984 kB / 1.211 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.8104, allocations: 4 kB / 1.211 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.8104, allocations: 0 / 1.211 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/0.8108, allocations: 103.9 kB / 1.212 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000776/0.8116, allocations: 384.5 kB / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003613/0.8119, allocations: 98.44 kB / 1.212 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.8123, allocations: 92.78 kB / 1.212 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.8123, allocations: 0 / 1.212 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004625/0.8128, allocations: 147.2 kB / 1.212 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.8128, allocations: 0 / 1.212 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.001176/0.814, allocations: 305.2 kB / 1.213 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.814, allocations: 59.34 kB / 1.213 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.8142, allocations: 148.3 kB / 1.213 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.8142, allocations: 29.7 kB / 1.213 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.8143, allocations: 96.36 kB / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.8143, allocations: 23.66 kB / 1.213 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/0.8144, allocations: 33.7 kB / 1.213 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.8145, allocations: 330.8 kB / 1.213 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.8146, allocations: 39.97 kB / 1.213 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.8148, allocations: 73.12 kB / 1.213 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.8151, allocations: 125 kB / 1.213 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.8151, allocations: 0 / 1.213 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003801/0.8155, allocations: 157.3 kB / 1.214 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.8155, allocations: 8 kB / 1.214 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.8155, allocations: 0 / 1.214 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.8155, allocations: 4 kB / 1.214 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.8157, allocations: 27.91 kB / 1.214 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.8157, allocations: 7.984 kB / 1.214 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.8158, allocations: 20.05 kB / 1.214 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.8158, allocations: 7.938 kB / 1.214 GB, free: 6.695 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.0001114/0.816, allocations: 124.8 kB / 1.214 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.816, allocations: 11.91 kB / 1.214 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.832e-05/0.816, allocations: 12.7 kB / 1.214 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.816, allocations: 0 / 1.214 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.8161, allocations: 4 kB / 1.214 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.8161, allocations: 0 / 1.214 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.8171, allocations: 0.5338 MB / 1.214 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.8171, allocations: 0 / 1.214 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.504e-05/0.8172, allocations: 15.98 kB / 1.214 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.8173, allocations: 208 / 1.214 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.8173, allocations: 7.938 kB / 1.214 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.147e-05/0.8173, allocations: 7.938 kB / 1.214 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.8173, allocations: 3.984 kB / 1.214 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008338/0.8181, allocations: 323.2 kB / 1.215 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.8182, allocations: 92.95 kB / 1.215 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.8182, allocations: 3.984 kB / 1.215 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.8185, allocations: 27.91 kB / 1.215 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.8185, allocations: 8 kB / 1.215 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.8186, allocations: 7.984 kB / 1.215 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.181e-05/0.8186, allocations: 109.9 kB / 1.215 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8186, allocations: 4 kB / 1.215 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003573/0.819, allocations: 43.91 kB / 1.215 GB, free: 5.266 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.001383/0.8204, allocations: 0.9265 MB / 1.216 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005493/0.821, allocations: 139.8 kB / 1.216 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.821, allocations: 256 / 1.216 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.8213, allocations: 95.84 kB / 1.216 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.8216, allocations: 11.94 kB / 1.216 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.824, allocations: 1.771 MB / 1.218 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.8243, allocations: 0.7078 MB / 1.219 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.721e-05/0.8244, allocations: 16.11 kB / 1.219 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.8244, allocations: 31.42 kB / 1.219 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.8244, allocations: 0 / 1.219 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.847, allocations: 3.547 MB / 1.222 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.73, allocations: 7.859 kB / 1.222 GB, free: 14.03 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