Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.005428/0.005428, allocations: 100.6 kB / 15.73 MB, free: 5.492 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.001362/0.001362, allocations: 186.7 kB / 16.67 MB, free: 5.422 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.333/1.333, 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 9.1.3-maint.9.1.x/package.mo): time 2.194/2.194, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.89 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8006/0.8018, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002408/0.8042, allocations: 1.496 MB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.8055, allocations: 0.7363 MB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.8055, allocations: 1.594 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.8056, allocations: 5.203 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.287e-05/0.8056, allocations: 9.656 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005651/0.8062, allocations: 120.5 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.8063, allocations: 84.72 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.521e-05/0.8064, allocations: 12.42 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.064e-05/0.8065, allocations: 30.89 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.811e-05/0.8066, allocations: 41.17 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.8067, allocations: 6.281 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002162/0.8069, allocations: 94.34 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.556e-05/0.8069, allocations: 20.02 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.807, allocations: 31.88 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.8073, allocations: 139.7 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.8073, allocations: 1.062 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8073, allocations: 4 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.8073, allocations: 0 / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006229/0.8079, allocations: 424.5 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.808, allocations: 9.844 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.808, allocations: 37.22 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.8081, allocations: 8 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.532e-05/0.8081, allocations: 174.3 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.8082, allocations: 3.281 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.8082, allocations: 7.75 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.8084, allocations: 76.3 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.8084, allocations: 1.094 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.8084, allocations: 0.7031 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.8084, allocations: 1 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.8086, allocations: 36.41 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005413/0.8091, allocations: 322.4 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.8093, allocations: 45.84 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.392e-05/0.8094, allocations: 31.8 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.8094, allocations: 1.141 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.8096, allocations: 81.48 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.8096, allocations: 4 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004025/0.81, allocations: 138.3 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.81, allocations: 61.27 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.226e-05/0.8101, allocations: 119 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.8101, allocations: 27.08 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.24e-05/0.8102, allocations: 92.52 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.8102, allocations: 15.39 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.8103, allocations: 37.88 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.805e-05/0.8103, allocations: 322.9 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.998e-05/0.8105, allocations: 23.05 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.8106, allocations: 50.67 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.8108, allocations: 76.33 kB / 1.092 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.8108, allocations: 0.6562 kB / 1.092 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002867/0.8111, allocations: 109 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.8111, allocations: 5.125 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.8111, allocations: 1.391 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.8112, allocations: 1.469 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.8113, allocations: 10.61 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.8113, allocations: 10.11 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.269e-05/0.8114, allocations: 17.34 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.8114, allocations: 4 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.952e-05/0.8115, allocations: 119.1 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.8115, allocations: 11.61 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.196e-05/0.8116, allocations: 10.61 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.8116, allocations: 2.062 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.8116, allocations: 0 / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.8116, allocations: 5.5 kB / 1.093 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/0.8121, allocations: 382.4 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.8121, allocations: 0 / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.8122, allocations: 5.609 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.8122, allocations: 0.7188 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.8122, allocations: 6.266 kB / 1.093 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.8122, allocations: 4.688 kB / 1.093 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8122, allocations: 0.8125 kB / 1.093 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.8125, allocations: 211.6 kB / 1.093 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.8126, allocations: 84.23 kB / 1.093 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.8126, allocations: 1.594 kB / 1.093 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.103e-05/0.8127, allocations: 12.61 kB / 1.093 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.8127, allocations: 7.984 kB / 1.093 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.8128, allocations: 4.594 kB / 1.093 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.123e-05/0.8128, allocations: 99.98 kB / 1.093 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8128, allocations: 0 / 1.093 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003325/0.8131, allocations: 43.17 kB / 1.093 GB, free: 0.5938 MB / 0.8575 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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0007593/0.8139, allocations: 0.7995 MB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002563/0.8142, allocations: 72.64 kB / 1.094 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.8142, allocations: 0 / 1.094 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.8143, allocations: 36.97 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.8146, allocations: 13.17 kB / 1.094 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.8162, allocations: 1.49 MB / 1.096 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.8165, allocations: 0.6865 MB / 1.096 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.452e-05/0.8165, allocations: 12.5 kB / 1.096 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.8166, allocations: 20.97 kB / 1.097 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of SimCode: time 3.01e-07/0.8166, allocations: 1.062 kB / 1.097 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.8374, allocations: 2.63 MB / 1.099 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.485/8.322, allocations: 15.45 kB / 1.099 GB, free: 13.32 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset