Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 104.1 kB / 16.41 MB, free: 6.461 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.001314/0.001314, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.3/2.3, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 67.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7889/0.7903, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002404/0.7928, allocations: 1.504 MB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.794, allocations: 0.732 MB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/0.7941, allocations: 1.125 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.399e-05/0.7941, allocations: 4.594 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.514e-05/0.7942, allocations: 11.78 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/0.7947, allocations: 119.5 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.7949, allocations: 81.75 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.361e-05/0.795, allocations: 19.95 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.955e-05/0.7951, allocations: 30.41 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.111e-05/0.7952, allocations: 37.84 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.7952, allocations: 5.906 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.7954, allocations: 98.23 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.7954, allocations: 19.66 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.695e-05/0.7955, allocations: 27.36 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.7957, allocations: 138.2 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7957, allocations: 0.7969 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7958, allocations: 0 / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.7958, allocations: 5.125 kB / 1.091 GB, free: 3.723 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005412/0.7963, allocations: 423.2 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.7964, allocations: 10.02 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.7964, allocations: 8.75 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.134e-05/0.7965, allocations: 181.2 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.7965, allocations: 3.656 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.7965, allocations: 4.562 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.7967, allocations: 80.77 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.7967, allocations: 0 / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.7968, allocations: 0.9375 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.7968, allocations: 1.641 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.7969, allocations: 34.95 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005383/0.7975, allocations: 318.9 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.7976, allocations: 49.78 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.486e-05/0.7977, allocations: 32.17 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.7977, allocations: 1.562 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.7979, allocations: 80.75 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.7979, allocations: 3.938 kB / 1.093 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004014/0.7983, allocations: 138.1 kB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.7984, allocations: 54.34 kB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.324e-05/0.7985, allocations: 122.8 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.7985, allocations: 27.23 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.7985, allocations: 91.77 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.7986, allocations: 11.88 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.7986, allocations: 29.72 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.149e-05/0.7987, allocations: 327.1 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.272e-05/0.7988, allocations: 27.67 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.052e-05/0.7988, allocations: 46.22 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.799, allocations: 80 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.799, allocations: 0.875 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002254/0.7993, allocations: 112.2 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.7993, allocations: 6.703 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.7993, allocations: 0.9375 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.7993, allocations: 1 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.706e-05/0.7994, allocations: 20.03 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.7994, allocations: 0.9688 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.372e-05/0.7995, allocations: 21.28 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.7995, allocations: 2.875 kB / 1.094 GB, free: 1.727 MB / 0.8575 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 6.798e-05/0.7996, allocations: 119.9 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.7996, allocations: 8.031 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.7996, allocations: 10.77 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.7996, allocations: 0.9062 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.7997, allocations: 1.641 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.7997, allocations: 0.7031 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.8001, allocations: 386.3 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.8001, allocations: 0 / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.8001, allocations: 9.594 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.8001, allocations: 0.7969 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.8001, allocations: 5.641 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.8001, allocations: 1.203 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.8002, allocations: 4.875 kB / 1.094 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.8004, allocations: 211.6 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.8004, allocations: 79.81 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.8005, allocations: 5.203 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.54e-05/0.8006, allocations: 9.281 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.8006, allocations: 8.672 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.8006, allocations: 3.391 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.056e-05/0.8007, allocations: 91.66 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8007, allocations: 0.6875 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003271/0.801, allocations: 49.62 kB / 1.095 GB, free: 0.8711 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: 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.0003508/0.8014, allocations: 162.9 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002558/0.8016, allocations: 68.53 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8016, allocations: 128 / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.8018, allocations: 37.48 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.802, allocations: 20.17 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.8024, allocations: 207.2 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.8026, allocations: 0.6876 MB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.8026, allocations: 15.7 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of SimCode: time 3e-07/0.8027, allocations: 4 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.004264/0.8069, allocations: 1.618 MB / 1.097 GB, free: 15.68 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches