Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_11_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.005622/0.005622, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001605/0.001605, allocations: 196.9 kB / 16.67 MB, free: 5.973 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.986/2.986, allocations: 469.8 MB / 0.7425 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 71.88 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3532, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.004029/0.3572, allocations: 1.499 MB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001809/0.3591, allocations: 0.7245 MB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.364e-05/0.3592, allocations: 0 / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.659e-05/0.3592, allocations: 3.938 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.558e-05/0.3594, allocations: 19.8 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008254/0.3602, allocations: 123.6 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.3604, allocations: 71.83 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.3606, allocations: 11.95 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.3607, allocations: 43.84 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.3608, allocations: 39.83 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.3609, allocations: 7.938 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.3612, allocations: 95.91 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.3613, allocations: 23.91 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.227e-05/0.3614, allocations: 27.86 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.3617, allocations: 143.5 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3618, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3618, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.3618, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 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.0008576/0.3627, allocations: 426.2 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.3627, allocations: 12.03 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.767e-05/0.3628, allocations: 30.75 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.518e-05/0.3628, allocations: 12.89 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.363, allocations: 172.3 kB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.3631, allocations: 4.359 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.3631, allocations: 4.375 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.3634, allocations: 81.66 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3634, allocations: 4 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3634, allocations: 0 / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3634, allocations: 0 / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.3636, allocations: 35.97 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007877/0.3644, allocations: 320.7 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.3646, allocations: 50.5 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.3647, allocations: 32.97 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/0.3648, allocations: 3.984 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003136/0.3651, allocations: 75.39 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.3651, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005465/0.3657, allocations: 141.9 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.3657, allocations: 59.34 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.3659, allocations: 129.7 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.3659, allocations: 25.7 kB / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.347e-05/0.366, allocations: 92.12 kB / 1.225 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.3661, allocations: 11.91 kB / 1.225 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.39e-05/0.3661, allocations: 29.7 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.3663, allocations: 326.8 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.3665, allocations: 27.98 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.3666, allocations: 42.56 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.3668, allocations: 78.55 kB / 1.225 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3669, allocations: 4 kB / 1.225 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003538/0.3672, allocations: 113.5 kB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.3672, allocations: 4 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3673, allocations: 3.938 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.3673, allocations: 7.938 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.3674, allocations: 11.98 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3674, allocations: 0 / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.9e-05/0.3675, allocations: 7.938 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.3676, allocations: 12.06 kB / 1.225 GB, free: 8.855 MB / 0.9825 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 0.0001362/0.3677, allocations: 125.7 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.3677, allocations: 7.953 kB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.584e-05/0.3678, allocations: 8.375 kB / 1.225 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.3678, allocations: 4 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.3678, allocations: 4 kB / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3679, allocations: 0 / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006926/0.3686, allocations: 382.4 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3686, allocations: 0 / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-05/0.3686, allocations: 11.92 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3687, allocations: 0 / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.3687, allocations: 0 / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.3687, allocations: 3.938 kB / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.3687, allocations: 4 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.369, allocations: 211.5 kB / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.3691, allocations: 85.06 kB / 1.226 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.3691, allocations: 0 / 1.226 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.129e-05/0.3692, allocations: 7.938 kB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.3693, allocations: 7.984 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.3693, allocations: 4 kB / 1.226 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.555e-05/0.3694, allocations: 91.27 kB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3694, allocations: 0 / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004883/0.3699, allocations: 43.86 kB / 1.226 GB, free: 7.766 MB / 0.9825 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.001215/0.3711, allocations: 0.8184 MB / 1.227 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003453/0.3715, allocations: 79.89 kB / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3715, allocations: 0 / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.3716, allocations: 31.98 kB / 1.227 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.3721, allocations: 15.92 kB / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.3743, allocations: 1.497 MB / 1.229 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.3747, allocations: 0.6846 MB / 1.229 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.24e-05/0.3748, allocations: 7.984 kB / 1.229 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.332e-05/0.3749, allocations: 19.44 kB / 1.229 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/0.3749, allocations: 4 kB / 1.229 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03062/0.4055, allocations: 2.646 MB / 1.232 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.372, allocations: 8 kB / 1.232 GB, free: 1.98 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.csv. Warning: Get data of variable win.on from file Buildings_11_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