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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.007396/0.007396, allocations: 98.48 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: 194 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.915/2.915, allocations: 469.4 MB / 0.7422 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 56.12 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3277, allocations: 159.1 MB / 1.22 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002786/0.3306, allocations: 1.506 MB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.332, allocations: 0.7284 MB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.533e-05/0.3321, allocations: 0 / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.537e-05/0.3321, allocations: 7.938 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.674e-05/0.3322, allocations: 11.88 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006558/0.3329, allocations: 123.5 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.333, allocations: 71.83 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.773e-05/0.3331, allocations: 15.94 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.169e-05/0.3332, allocations: 39.84 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.954e-05/0.3333, allocations: 51.77 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.3333, allocations: 4 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.3335, allocations: 91.91 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.881e-05/0.3336, allocations: 19.92 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.835e-05/0.3336, allocations: 31.86 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.3339, allocations: 139.5 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3339, allocations: 0 / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3339, allocations: 0 / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.3339, allocations: 0 / 1.222 GB, free: 11.84 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.0006171/0.3345, allocations: 424.7 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.3346, allocations: 12.03 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.861e-05/0.3346, allocations: 34.75 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.3347, allocations: 8.891 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.3348, allocations: 176.3 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.3348, allocations: 384 / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.3348, allocations: 8.375 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.335, allocations: 73.72 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.3351, allocations: 3.938 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3351, allocations: 4 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3351, allocations: 0 / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.3352, allocations: 39.97 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005962/0.3358, allocations: 312.7 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.336, allocations: 54.48 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.292e-05/0.336, allocations: 32.97 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.3361, allocations: 0 / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.3363, allocations: 79.45 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.3363, allocations: 0 / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004141/0.3367, allocations: 137.6 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.3368, allocations: 63.34 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.3369, allocations: 125.8 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.3369, allocations: 25.7 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.059e-05/0.337, allocations: 88.14 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.337, allocations: 11.91 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.342e-05/0.3371, allocations: 33.7 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3372, allocations: 322.8 kB / 1.224 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.298e-05/0.3373, allocations: 27.98 kB / 1.225 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.237e-05/0.3374, allocations: 46.98 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.3376, allocations: 70.5 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3376, allocations: 0 / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002624/0.3378, allocations: 121.8 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3379, allocations: 4 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.3379, allocations: 4.016 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3379, allocations: 7.938 kB / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.338, allocations: 15.98 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.338, allocations: 3.984 kB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.974e-05/0.3381, allocations: 11.94 kB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.3381, allocations: 7.984 kB / 1.225 GB, free: 9.238 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 9.422e-05/0.3382, allocations: 126.3 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.3383, allocations: 7.953 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/0.3383, allocations: 8.375 kB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3383, allocations: 4 kB / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.3383, allocations: 0 / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.3383, allocations: 0 / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/0.3388, allocations: 378.4 kB / 1.225 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3388, allocations: 4 kB / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.3389, allocations: 11.92 kB / 1.225 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3389, allocations: 0 / 1.225 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.3389, allocations: 4 kB / 1.225 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3389, allocations: 7.938 kB / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3389, allocations: 0 / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.3392, allocations: 199.5 kB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.3392, allocations: 89.06 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.3393, allocations: 3.984 kB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.3394, allocations: 15.92 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.3394, allocations: 0 / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.3394, allocations: 4 kB / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.075e-05/0.3395, allocations: 95.42 kB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3395, allocations: 0 / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003277/0.3398, allocations: 43.86 kB / 1.226 GB, free: 8.148 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.0008347/0.3407, allocations: 0.8017 MB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.3409, allocations: 83.88 kB / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3409, allocations: 0 / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.066e-05/0.341, allocations: 31.98 kB / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.3413, allocations: 16.47 kB / 1.227 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.3428, allocations: 1.5 MB / 1.228 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.3431, allocations: 0.6885 MB / 1.229 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.124e-05/0.3431, allocations: 4 kB / 1.229 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.3432, allocations: 23.42 kB / 1.229 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.3432, allocations: 0 / 1.229 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.3626, allocations: 2.659 MB / 1.231 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.321/7.683, allocations: 0 / 1.231 GB, free: 2.355 MB / 0.9825 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