Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_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_latest_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.001061/0.001061, allocations: 100.1 kB / 15.88 MB, free: 12 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.001058/0.001058, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.327/1.327, allocations: 222.9 MB / 240.5 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.6/2.6, allocations: 461.9 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 63.02 kB / 0.899 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2914, allocations: 157.4 MB / 1.053 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.003008/0.2945, allocations: 1.552 MB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.2958, allocations: 0.7361 MB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.2959, allocations: 3.938 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.964e-05/0.296, allocations: 3.984 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.489e-05/0.296, allocations: 19.86 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005261/0.2966, allocations: 103.8 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.2967, allocations: 71.78 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.484e-05/0.2968, allocations: 7.984 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.493e-05/0.2969, allocations: 31.91 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.078e-05/0.297, allocations: 31.84 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.297, allocations: 8 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.2972, allocations: 95.84 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.763e-05/0.2973, allocations: 11.92 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.2973, allocations: 31.84 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.2975, allocations: 104 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2975, allocations: 0 / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2975, allocations: 0 / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.475e-06/0.2976, allocations: 0 / 1.055 GB, free: 5.504 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006746/0.2982, allocations: 417 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.2983, allocations: 8.031 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.983e-05/0.2984, allocations: 12.83 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.2985, allocations: 180.2 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.2985, allocations: 4.375 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.2986, allocations: 8.375 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.2988, allocations: 69.91 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2988, allocations: 0 / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.2988, allocations: 7.984 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2988, allocations: 4 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.299, allocations: 39.97 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006258/0.2996, allocations: 308.8 kB / 1.057 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.2997, allocations: 54.55 kB / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.046e-05/0.2998, allocations: 36.91 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.2998, allocations: 4 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.3001, allocations: 79.42 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.3001, allocations: 0 / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004015/0.3005, allocations: 137.5 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.3005, allocations: 59.34 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.3007, allocations: 125.8 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.3007, allocations: 25.7 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.3007, allocations: 92.14 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.3008, allocations: 19.73 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.3008, allocations: 25.72 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3009, allocations: 322.8 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.361e-05/0.301, allocations: 31.98 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.511e-05/0.3011, allocations: 50.55 kB / 1.058 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.3013, allocations: 74.42 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3013, allocations: 0 / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002411/0.3016, allocations: 113.5 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3016, allocations: 8 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3016, allocations: 0 / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3016, allocations: 0 / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.3017, allocations: 15.98 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3018, allocations: 4 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.082e-05/0.3018, allocations: 11.89 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.3018, allocations: 0 / 1.058 GB, free: 2.953 MB / 0.8106 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 0.0001099/0.302, allocations: 129.8 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.302, allocations: 0 / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.302, allocations: 12.38 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.302, allocations: 0 / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.302, allocations: 3.984 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.302, allocations: 0 / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004431/0.3025, allocations: 386.3 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3025, allocations: 4 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.796e-05/0.3025, allocations: 4 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3026, allocations: 0 / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3026, allocations: 7.938 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3026, allocations: 0 / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3026, allocations: 3.938 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.3029, allocations: 207.4 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.3029, allocations: 77.11 kB / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.3029, allocations: 8 kB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.183e-05/0.303, allocations: 11.98 kB / 1.059 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.3031, allocations: 7.938 kB / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.3031, allocations: 3.984 kB / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.698e-05/0.3032, allocations: 91.28 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3032, allocations: 0 / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002955/0.3035, allocations: 43.92 kB / 1.059 GB, free: 1.871 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: 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.0003526/0.3038, allocations: 172.2 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.3041, allocations: 63.95 kB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3041, allocations: 4 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.3042, allocations: 35.92 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.3045, allocations: 14.22 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.3049, allocations: 223.7 kB / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.3052, allocations: 0.6887 MB / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.3052, allocations: 7.438 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of SimCode: time 3.8e-07/0.3052, allocations: 4 kB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of Templates: time 0.003475/0.3087, allocations: 1.604 MB / 1.061 GB, free: 15.01 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches