Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.001601/0.001601, 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.001582/0.001582, allocations: 195.8 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.441/1.441, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.9/2.9, allocations: 469.8 MB / 0.7424 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 65.48 kB / 0.9086 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2528, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002794/0.2556, allocations: 1.493 MB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.2569, allocations: 0.7341 MB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.122e-05/0.257, allocations: 0 / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.492e-05/0.257, allocations: 11.86 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.305e-05/0.2571, allocations: 7.922 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005438/0.2576, allocations: 131.5 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.2577, allocations: 71.84 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.998e-05/0.2578, allocations: 4 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.679e-05/0.2579, allocations: 39.84 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.17e-05/0.258, allocations: 39.89 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.258, allocations: 4 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.2582, allocations: 95.84 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.2583, allocations: 19.92 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.16e-05/0.2583, allocations: 35.84 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.2586, allocations: 139.9 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.2586, allocations: 0 / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2586, allocations: 0 / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2586, allocations: 3.938 kB / 1.067 GB, free: 11.39 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.000644/0.2593, allocations: 417 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2593, allocations: 8.031 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.553e-05/0.2594, allocations: 42.69 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.2594, allocations: 16.83 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.2595, allocations: 180.1 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.2596, allocations: 384 / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.2596, allocations: 8.375 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.2598, allocations: 69.78 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.2598, allocations: 0 / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2598, allocations: 0 / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2598, allocations: 0 / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.26, allocations: 39.91 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006111/0.2606, allocations: 320.8 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.2608, allocations: 46.55 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.407e-05/0.2609, allocations: 36.97 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.2609, allocations: 4 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.2611, allocations: 91.3 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.2611, allocations: 0 / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004018/0.2615, allocations: 129.5 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.2616, allocations: 59.41 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.2617, allocations: 125.8 kB / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.2617, allocations: 25.7 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.2618, allocations: 96.11 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.2618, allocations: 19.73 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.2619, allocations: 25.72 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.262, allocations: 326.8 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.545e-05/0.2621, allocations: 19.98 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.2622, allocations: 58.48 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.2624, allocations: 66.56 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2624, allocations: 3.938 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002592/0.2627, allocations: 109.9 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.2627, allocations: 8.062 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2627, allocations: 80 / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.2627, allocations: 4 kB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.785e-05/0.2628, allocations: 15.92 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.2628, allocations: 3.984 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.674e-05/0.2629, allocations: 15.89 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.2629, allocations: 4 kB / 1.069 GB, free: 8.789 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.95e-05/0.263, allocations: 118.4 kB / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.2631, allocations: 11.91 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.2631, allocations: 8.375 kB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2631, allocations: 3.938 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.2631, allocations: 7.984 kB / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2631, allocations: 0 / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004899/0.2636, allocations: 382.3 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2636, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.244e-05/0.2637, allocations: 4 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2637, allocations: 4 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.2637, allocations: 4 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.2637, allocations: 3.938 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2637, allocations: 0 / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.264, allocations: 211.3 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.2641, allocations: 81.02 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.2641, allocations: 4 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.722e-05/0.2642, allocations: 15.92 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.2643, allocations: 4 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.2643, allocations: 7.984 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.717e-05/0.2644, allocations: 87.28 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2644, allocations: 0 / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000301/0.2647, allocations: 39.98 kB / 1.07 GB, free: 7.711 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.0008662/0.2655, allocations: 0.8149 MB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.2658, allocations: 71.91 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2658, allocations: 128 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.2659, allocations: 39.97 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.2662, allocations: 12.48 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.268, allocations: 1.488 MB / 1.072 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.2683, allocations: 0.6883 MB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.065e-05/0.2683, allocations: 7.984 kB / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.2684, allocations: 19.44 kB / 1.073 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.2684, allocations: 4 kB / 1.073 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.2919, allocations: 2.598 MB / 1.076 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.626/7.918, allocations: 18.27 kB / 1.076 GB, free: 1.945 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_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_Zhang2012WindowsWest.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_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