Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.001449/0.001449, allocations: 108 kB / 15.6 MB, free: 132 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.001386/0.001386, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.307/1.307, 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.557/2.557, allocations: 469.8 MB / 0.7424 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001754, allocations: 67.88 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2611, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002787/0.2639, allocations: 1.588 MB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.2653, allocations: 0.7868 MB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.598e-05/0.2654, allocations: 0 / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.64e-05/0.2654, allocations: 7.875 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.686e-05/0.2655, allocations: 19.81 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005667/0.2661, allocations: 147.5 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.2662, allocations: 131.6 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.2663, allocations: 15.98 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.2665, allocations: 59.83 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.2666, allocations: 75.78 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.2666, allocations: 15.94 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.2668, allocations: 103.8 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.808e-05/0.2668, allocations: 27.95 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.444e-05/0.2669, allocations: 55.72 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.2672, allocations: 191.7 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2672, allocations: 0 / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2672, allocations: 0 / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.2672, allocations: 0 / 1.067 GB, free: 11 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007109/0.2679, allocations: 486.4 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.2679, allocations: 12.03 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.268, allocations: 38.73 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.268, allocations: 12.84 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.2682, allocations: 184.6 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.2682, allocations: 12.34 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.2682, allocations: 11.94 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.2685, allocations: 97.56 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.2685, allocations: 4 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.2685, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2685, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.2687, allocations: 71.83 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007845/0.2695, allocations: 364.7 kB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.2697, allocations: 70.55 kB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.2698, allocations: 48.83 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.2698, allocations: 8 kB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.2701, allocations: 107.2 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.2701, allocations: 4 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005297/0.2706, allocations: 209.4 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.2707, allocations: 51.41 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.2708, allocations: 147.6 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.2708, allocations: 25.7 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.2709, allocations: 104.4 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.2709, allocations: 27.8 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.271, allocations: 33.7 kB / 1.069 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2711, allocations: 318.8 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.2713, allocations: 43.97 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.2714, allocations: 81.33 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.2716, allocations: 116.3 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2716, allocations: 3.938 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003156/0.272, allocations: 149.5 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.272, allocations: 7.984 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.272, allocations: 4 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.272, allocations: 0 / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.2722, allocations: 27.86 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2722, allocations: 4 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.27e-05/0.2723, allocations: 7.906 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.2723, allocations: 16.08 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001074/0.2724, allocations: 125.7 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.2724, allocations: 8.281 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.2725, allocations: 12.72 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.2725, allocations: 7.922 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.2725, allocations: 0 / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2725, allocations: 3.938 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005916/0.2731, allocations: 462.3 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2731, allocations: 0 / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.246e-05/0.2732, allocations: 11.94 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2732, allocations: 0 / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.2732, allocations: 3.984 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2732, allocations: 0 / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2732, allocations: 0 / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.2736, allocations: 271.4 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.2737, allocations: 92.94 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.2737, allocations: 4 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.2738, allocations: 7.984 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.2739, allocations: 4 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.2739, allocations: 12.05 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.902e-05/0.274, allocations: 105.1 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.274, allocations: 4 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002837/0.2742, allocations: 51.98 kB / 1.071 GB, free: 6.609 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009211/0.2752, allocations: 0.8632 MB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003105/0.2755, allocations: 115.9 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2755, allocations: 0 / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.2757, allocations: 59.91 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.2759, allocations: 17.53 kB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.2778, allocations: 1.692 MB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.2781, allocations: 0.7041 MB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.57e-05/0.2782, allocations: 4 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.2782, allocations: 28.55 kB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2782, allocations: 0 / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.176/4.454, allocations: 3.348 MB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.808/14.26, allocations: 12.69 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches