Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_11_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.001344/0.001344, 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.001258/0.001259, 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.429/1.429, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.903/2.903, allocations: 469.8 MB / 0.7424 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 73.42 kB / 0.9087 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2557, allocations: 159.1 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002867/0.2586, allocations: 1.503 MB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.26, allocations: 0.7341 MB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/0.26, allocations: 0 / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.2601, allocations: 11.92 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.144e-05/0.2602, allocations: 7.875 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005519/0.2607, allocations: 123.6 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.2608, allocations: 75.78 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.651e-05/0.2609, allocations: 11.98 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.098e-05/0.261, allocations: 35.91 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.054e-05/0.2611, allocations: 39.83 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.2611, allocations: 8 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.2614, allocations: 99.84 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.2614, allocations: 15.92 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.2615, allocations: 27.86 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.2617, allocations: 139.9 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2617, allocations: 0 / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2617, allocations: 0 / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.2617, allocations: 0 / 1.067 GB, free: 11.37 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.0006695/0.2624, allocations: 425 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2625, allocations: 8.031 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.162e-05/0.2625, allocations: 34.75 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.2625, allocations: 8.828 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.2627, allocations: 176.2 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.2627, allocations: 12.31 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.2628, allocations: 4.375 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.2629, allocations: 69.78 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.263, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.263, allocations: 15.88 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.263, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.2632, allocations: 35.97 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000622/0.2638, allocations: 304.8 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.2639, allocations: 62.48 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.496e-05/0.264, allocations: 36.97 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.2641, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.2643, allocations: 75.44 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.2643, allocations: 0 / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004259/0.2647, allocations: 145.7 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.2648, allocations: 55.41 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.2649, allocations: 117.8 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.2649, allocations: 33.7 kB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.265, allocations: 88.05 kB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.265, allocations: 23.73 kB / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.335e-05/0.2651, allocations: 21.72 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2652, allocations: 330.8 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.153e-05/0.2653, allocations: 23.98 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.2654, allocations: 50.55 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.2656, allocations: 78.55 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2656, allocations: 4 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002655/0.2659, allocations: 113.6 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.2659, allocations: 5.562 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.2659, allocations: 0 / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.266, allocations: 0 / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.874e-05/0.2661, allocations: 19.92 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2661, allocations: 0 / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.2661, allocations: 11.89 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.2662, allocations: 8.062 kB / 1.069 GB, free: 8.766 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 0.0001047/0.2663, allocations: 122.6 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.2663, allocations: 11.91 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.295e-05/0.2663, allocations: 4.375 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2663, allocations: 0 / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2664, allocations: 0 / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2664, allocations: 3.984 kB / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.2669, allocations: 394.3 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2669, allocations: 0 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.2669, allocations: 7.984 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2669, allocations: 0 / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.267, allocations: 0 / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.267, allocations: 3.938 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.267, allocations: 0 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.2673, allocations: 219.3 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.2674, allocations: 81.02 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.2674, allocations: 4 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.2675, allocations: 7.922 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.2675, allocations: 4 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.2676, allocations: 3.984 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.899e-05/0.2676, allocations: 99.22 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2676, allocations: 0 / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003094/0.268, allocations: 35.98 kB / 1.07 GB, free: 7.684 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.0008702/0.2688, allocations: 0.8055 MB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.2691, allocations: 71.91 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2691, allocations: 0 / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.2692, allocations: 43.91 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.2695, allocations: 7.938 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.2713, allocations: 1.487 MB / 1.072 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.2716, allocations: 0.6883 MB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.906e-05/0.2716, allocations: 11.98 kB / 1.073 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.2717, allocations: 19.44 kB / 1.073 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of SimCode: time 3.607e-06/0.2717, allocations: 0 / 1.073 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.2953, allocations: 2.605 MB / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/7.937, allocations: 11.31 kB / 1.076 GB, free: 1.926 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv. Warning: Get data of variable win.on from file Buildings_11_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