Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 103 kB / 16.36 MB, free: 6.336 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.001601/0.001601, allocations: 198.3 kB / 17.3 MB, free: 5.883 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.486/2.486, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 63.94 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2784, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002708/0.2811, allocations: 1.601 MB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.2825, allocations: 0.7867 MB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.543e-05/0.2825, allocations: 7.938 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.2826, allocations: 3.938 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.114e-05/0.2827, allocations: 19.8 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005338/0.2832, allocations: 151.5 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.2834, allocations: 135.6 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.546e-05/0.2835, allocations: 19.98 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.795e-05/0.2836, allocations: 55.83 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.2837, allocations: 75.78 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.2837, allocations: 12 kB / 1.03 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.2839, allocations: 103.8 kB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.642e-05/0.2839, allocations: 27.97 kB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.015e-05/0.284, allocations: 55.7 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.2842, allocations: 195.5 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2843, allocations: 0 / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2843, allocations: 0 / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.2843, allocations: 3.938 kB / 1.03 GB, free: 14.83 MB / 0.8106 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.0007092/0.285, allocations: 482.4 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.285, allocations: 12.03 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.2851, allocations: 16.78 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.2852, allocations: 192.5 kB / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.2852, allocations: 4.375 kB / 1.031 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.2853, allocations: 12.12 kB / 1.031 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.2855, allocations: 97.56 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.2855, allocations: 7.984 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.2856, allocations: 0 / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.2856, allocations: 4 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.2858, allocations: 59.95 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000777/0.2865, allocations: 360.6 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.2867, allocations: 70.55 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.2868, allocations: 56.81 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.2869, allocations: 4 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.2871, allocations: 103.3 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.794e-06/0.2871, allocations: 4 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.000521/0.2876, allocations: 217.3 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.2877, allocations: 55.41 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.2878, allocations: 148.6 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.2878, allocations: 25.7 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.2879, allocations: 96.64 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.2879, allocations: 39.56 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.288, allocations: 37.7 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.2881, allocations: 318.8 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.2882, allocations: 39.97 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.2883, allocations: 79.02 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.2885, allocations: 112.6 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2885, allocations: 0 / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003053/0.2888, allocations: 157.4 kB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.2889, allocations: 8 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2889, allocations: 3.938 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2889, allocations: 0 / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.289, allocations: 23.92 kB / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2891, allocations: 3.938 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.2892, allocations: 19.89 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.2892, allocations: 4 kB / 1.033 GB, free: 11.75 MB / 0.8106 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 8.594e-05/0.2893, allocations: 125.9 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.2893, allocations: 15.89 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.2893, allocations: 8.719 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2893, allocations: 0 / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2894, allocations: 7.938 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2894, allocations: 3.938 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005579/0.2899, allocations: 458.3 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.2899, allocations: 0 / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.183e-05/0.29, allocations: 11.98 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.29, allocations: 3.938 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.29, allocations: 0 / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.29, allocations: 4 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.29, allocations: 3.984 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.2904, allocations: 267.2 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.2905, allocations: 88.95 kB / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.2905, allocations: 4.062 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.2906, allocations: 11.98 kB / 1.034 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.2907, allocations: 7.984 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.2907, allocations: 4 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.914e-05/0.2908, allocations: 108.9 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.495e-06/0.2908, allocations: 0 / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000285/0.2911, allocations: 47.94 kB / 1.034 GB, free: 10.49 MB / 0.8106 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.0003029/0.2914, allocations: 172.8 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003017/0.2917, allocations: 111.8 kB / 1.034 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2917, allocations: 4.188 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.2919, allocations: 51.97 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.2921, allocations: 19.92 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.2925, allocations: 224.6 kB / 1.034 GB, free: 9.895 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.2928, allocations: 0.6963 MB / 1.035 GB, free: 9.172 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.413e-05/0.2928, allocations: 7.984 kB / 1.035 GB, free: 9.164 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.2929, allocations: 15.44 kB / 1.035 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2929, allocations: 0 / 1.035 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of Templates: time 0.004321/0.2972, allocations: 1.962 MB / 1.037 GB, free: 7.195 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches