Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_9_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.004594/0.004594, allocations: 106.2 kB / 15.73 MB, free: 5.992 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.00105/0.00105, allocations: 194.8 kB / 16.67 MB, free: 5.914 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.551/2.551, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 59.38 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3341, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.00297/0.3371, allocations: 1.589 MB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.3388, allocations: 0.7843 MB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.3389, allocations: 4 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.473e-05/0.339, allocations: 7.875 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.35e-05/0.3391, allocations: 15.8 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008181/0.3399, allocations: 147.5 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.3402, allocations: 135.6 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.3403, allocations: 27.97 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.3405, allocations: 59.83 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.3406, allocations: 71.72 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.3406, allocations: 12 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.3409, allocations: 103.8 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/0.3409, allocations: 31.89 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.499e-05/0.341, allocations: 51.78 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003731/0.3414, allocations: 194.3 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3414, allocations: 4 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3414, allocations: 0 / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.3414, allocations: 0 / 1.091 GB, free: 14.76 MB / 0.8575 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.0009125/0.3424, allocations: 483.1 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.3424, allocations: 12.03 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.146e-05/0.3425, allocations: 38.73 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.3425, allocations: 8.844 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.3427, allocations: 188.6 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.3427, allocations: 8.375 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.3427, allocations: 15.92 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.343, allocations: 89.62 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.343, allocations: 4 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.3431, allocations: 3.984 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3431, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/0.3433, allocations: 59.95 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008606/0.3442, allocations: 372.6 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.3443, allocations: 70.53 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.3445, allocations: 52.83 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.3445, allocations: 4 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002427/0.3448, allocations: 111.2 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.3448, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005929/0.3454, allocations: 209.5 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.26e-05/0.3455, allocations: 67.33 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.3456, allocations: 148.2 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.3457, allocations: 25.7 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.3458, allocations: 100.4 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.3458, allocations: 27.8 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.871e-05/0.3459, allocations: 29.7 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3461, allocations: 322.8 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.3463, allocations: 47.97 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.3464, allocations: 76.27 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.3467, allocations: 112.2 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.3467, allocations: 4 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003672/0.3471, allocations: 149.4 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.3471, allocations: 4 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.3471, allocations: 4 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.3472, allocations: 3.984 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.3474, allocations: 31.95 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.3474, allocations: 4 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.3475, allocations: 11.84 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.3475, allocations: 7.984 kB / 1.093 GB, free: 11.63 MB / 0.8575 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.0001365/0.3477, allocations: 121.8 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.3477, allocations: 7.906 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.3478, allocations: 12.72 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3478, allocations: 3.938 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.3478, allocations: 4 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3478, allocations: 7.922 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006533/0.3484, allocations: 458.7 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3485, allocations: 96 / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.3485, allocations: 11.88 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.555e-06/0.3485, allocations: 4 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.3486, allocations: 3.984 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3486, allocations: 4 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3486, allocations: 0 / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.349, allocations: 263.3 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.3491, allocations: 93 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.3491, allocations: 8 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.3493, allocations: 4 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.3493, allocations: 15.92 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.3494, allocations: 7.984 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.197e-05/0.3495, allocations: 106.1 kB / 1.094 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4e-07/0.3495, allocations: 0 / 1.094 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003573/0.3498, allocations: 47.92 kB / 1.095 GB, free: 10.38 MB / 0.8575 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.001088/0.3509, allocations: 0.8631 MB / 1.095 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004007/0.3513, allocations: 111.8 kB / 1.095 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.3514, allocations: 4.188 kB / 1.095 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.3515, allocations: 55.97 kB / 1.096 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.3518, allocations: 11.98 kB / 1.096 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.3542, allocations: 1.711 MB / 1.097 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.3546, allocations: 0.7001 MB / 1.098 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.486e-05/0.3547, allocations: 7.984 kB / 1.098 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.343e-05/0.3548, allocations: 27.42 kB / 1.098 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of SimCode: time 5.91e-07/0.3548, allocations: 4 kB / 1.098 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.3772, allocations: 3.448 MB / 1.101 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.216/8.593, allocations: 20 kB / 1.101 GB, free: 3.422 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches