Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",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.00792/0.00792, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001844/0.001844, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.324/1.324, 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.177/2.177, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 63.91 kB / 0.9504 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7499/0.7514, allocations: 140.4 MB / 1.087 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.003279/0.7548, allocations: 1.496 MB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.7562, allocations: 0.7333 MB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.7563, allocations: 3.938 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.714e-05/0.7563, allocations: 5.156 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.148e-05/0.7564, allocations: 10.53 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007362/0.7572, allocations: 120.7 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.7574, allocations: 81.86 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.7575, allocations: 15.75 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.7576, allocations: 30.64 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.7578, allocations: 37.42 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.7578, allocations: 6.25 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002669/0.7581, allocations: 98.89 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.746e-05/0.7581, allocations: 18.61 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.516e-05/0.7582, allocations: 32.12 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.7585, allocations: 144.9 kB / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.7585, allocations: 0.7031 kB / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7585, allocations: 1.062 kB / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.7586, allocations: 0 / 1.09 GB, free: 3.328 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.0006721/0.7592, allocations: 421.5 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.7593, allocations: 10.09 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.441e-05/0.7593, allocations: 37.59 kB / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.7594, allocations: 9.438 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.598e-05/0.7595, allocations: 176.5 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.7595, allocations: 4.188 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.7595, allocations: 4.469 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.7598, allocations: 75.81 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.7598, allocations: 1.125 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.7598, allocations: 0 / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.7598, allocations: 5.031 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.7599, allocations: 36.02 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005452/0.7605, allocations: 323 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.7606, allocations: 46.69 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.708e-05/0.7607, allocations: 30.66 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.7608, allocations: 1.781 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.761, allocations: 89.58 kB / 1.091 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.694e-06/0.761, allocations: 0 / 1.091 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004328/0.7614, allocations: 133.3 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.7615, allocations: 55.08 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.53e-05/0.7616, allocations: 122 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.7616, allocations: 27.14 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.7616, allocations: 91.53 kB / 1.092 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.7617, allocations: 16.3 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/0.7617, allocations: 33.69 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.869e-05/0.7618, allocations: 327.3 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.115e-05/0.7619, allocations: 23.08 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.762, allocations: 46.75 kB / 1.092 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.7622, allocations: 71.92 kB / 1.092 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7622, allocations: 4.938 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002531/0.7624, allocations: 116.8 kB / 1.092 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.7625, allocations: 9.844 kB / 1.092 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.7625, allocations: 0.9375 kB / 1.092 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.7625, allocations: 5.609 kB / 1.092 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.716e-05/0.7626, allocations: 14.8 kB / 1.092 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.7626, allocations: 6.422 kB / 1.092 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.885e-05/0.7627, allocations: 16.81 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.7627, allocations: 3.547 kB / 1.093 GB, free: 1.285 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 7.112e-05/0.7628, allocations: 119.6 kB / 1.093 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.7628, allocations: 7.328 kB / 1.093 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.7628, allocations: 15.19 kB / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.7628, allocations: 1.5 kB / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.7629, allocations: 4.641 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.7629, allocations: 0.75 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004135/0.7633, allocations: 374.5 kB / 1.093 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.7633, allocations: 1.531 kB / 1.093 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.053e-05/0.7633, allocations: 4.391 kB / 1.093 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.7633, allocations: 1.531 kB / 1.093 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.7634, allocations: 1.5 kB / 1.093 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.7634, allocations: 8.969 kB / 1.093 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7634, allocations: 0 / 1.093 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.7637, allocations: 216.2 kB / 1.093 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.168e-05/0.7637, allocations: 83.2 kB / 1.093 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.7637, allocations: 6.453 kB / 1.093 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.151e-05/0.7638, allocations: 8.016 kB / 1.093 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.7639, allocations: 13.09 kB / 1.093 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.7639, allocations: 2.812 kB / 1.093 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.888e-05/0.7639, allocations: 96.98 kB / 1.093 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7639, allocations: 0 / 1.093 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003134/0.7643, allocations: 42.97 kB / 1.093 GB, free: 16.43 MB / 0.8731 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.0007461/0.765, allocations: 0.7951 MB / 1.094 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.7653, allocations: 76.22 kB / 1.094 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7653, allocations: 0.6875 kB / 1.094 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.87e-05/0.7654, allocations: 33.23 kB / 1.094 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.7656, allocations: 17.41 kB / 1.094 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.7672, allocations: 1.492 MB / 1.096 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.7675, allocations: 0.6909 MB / 1.097 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.392e-05/0.7675, allocations: 9.078 kB / 1.097 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.103e-05/0.7676, allocations: 20.17 kB / 1.097 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of SimCode: time 2.8e-07/0.7676, allocations: 0.75 kB / 1.097 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.7864, allocations: 2.643 MB / 1.099 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.393/8.179, allocations: 11.89 kB / 1.099 GB, free: 13.16 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_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_Zhang2012WindowsNorth.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_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