Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",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.001165/0.001165, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 197 kB / 16.53 MB, free: 6.664 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.955/2.955, allocations: 469.4 MB / 0.742 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 68.52 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.367, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003105/0.3702, allocations: 1.495 MB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.3715, allocations: 0.7339 MB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.3716, allocations: 4 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.3716, allocations: 7.875 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.889e-05/0.3717, allocations: 7.922 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.3723, allocations: 127.5 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.3724, allocations: 71.84 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.3725, allocations: 11.98 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.591e-05/0.3726, allocations: 35.91 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.191e-05/0.3727, allocations: 39.83 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.3727, allocations: 8 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.3729, allocations: 99.84 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.804e-05/0.373, allocations: 19.91 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.164e-05/0.373, allocations: 27.86 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.3733, allocations: 139.9 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3733, allocations: 0 / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3733, allocations: 0 / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.3733, allocations: 0 / 1.066 GB, free: 11.66 MB / 0.8262 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.0007767/0.3741, allocations: 421 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.3742, allocations: 8.031 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.057e-05/0.3742, allocations: 38.67 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.3743, allocations: 8.844 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.3744, allocations: 176.2 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.3744, allocations: 8.375 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.3745, allocations: 4.375 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.3747, allocations: 65.78 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.3747, allocations: 7.938 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.3747, allocations: 7.984 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.3747, allocations: 0 / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.3749, allocations: 39.92 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006181/0.3755, allocations: 312.8 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.3757, allocations: 58.5 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.091e-05/0.3758, allocations: 36.97 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.3758, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.3761, allocations: 83.3 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.3761, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000404/0.3765, allocations: 145.6 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.3765, allocations: 59.39 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.281e-05/0.3766, allocations: 113.8 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.3767, allocations: 33.7 kB / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.3767, allocations: 92.03 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.3768, allocations: 19.75 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/0.3768, allocations: 25.7 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3769, allocations: 326.8 kB / 1.068 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.811e-05/0.377, allocations: 23.98 kB / 1.068 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.3771, allocations: 54.48 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.3773, allocations: 66.55 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.3773, allocations: 8 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002542/0.3776, allocations: 105.6 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3776, allocations: 8 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3776, allocations: 0 / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3776, allocations: 3.938 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3777, allocations: 11.94 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.3778, allocations: 7.984 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.31e-05/0.3778, allocations: 7.906 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.3779, allocations: 8.062 kB / 1.069 GB, free: 9.051 MB / 0.8262 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 9.075e-05/0.378, allocations: 117.8 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.378, allocations: 7.906 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.679e-05/0.378, allocations: 12.36 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.378, allocations: 0 / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3781, allocations: 0 / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3781, allocations: 0 / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.3786, allocations: 394.3 kB / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3786, allocations: 0 / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.3786, allocations: 0 / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3786, allocations: 4 kB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.3787, allocations: 3.984 kB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3787, allocations: 3.938 kB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3787, allocations: 0 / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.379, allocations: 223.3 kB / 1.069 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/0.379, allocations: 81.02 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.379, allocations: 3.984 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.669e-05/0.3791, allocations: 7.938 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.3792, allocations: 11.92 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.3792, allocations: 0 / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.208e-05/0.3793, allocations: 99.27 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3793, allocations: 0 / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002931/0.3796, allocations: 32 kB / 1.07 GB, free: 7.969 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: 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.000873/0.3805, allocations: 0.8132 MB / 1.07 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002687/0.3807, allocations: 75.89 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3807, allocations: 0 / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.873e-05/0.3809, allocations: 31.98 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.3811, allocations: 12.86 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.383, allocations: 1.485 MB / 1.072 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.3833, allocations: 0.6922 MB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.538e-05/0.3833, allocations: 11.92 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.513e-05/0.3834, allocations: 19.44 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of SimCode: time 1.362e-06/0.3834, allocations: 0 / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.412, allocations: 2.613 MB / 1.075 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.285/7.697, allocations: 5.812 kB / 1.075 GB, free: 2.211 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv. Warning: Get data of variable win.on from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_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