Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 104.2 kB / 16.27 MB, free: 6.414 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.001421/0.001421, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.333/1.333, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.17/2.17, allocations: 390.3 MB / 0.6653 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.31 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2906, allocations: 140.4 MB / 0.9503 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.003128/0.2938, allocations: 1.505 MB / 0.9517 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.2953, allocations: 0.7284 MB / 0.9524 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.594e-05/0.2954, allocations: 4 kB / 0.9524 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.188e-05/0.2954, allocations: 3.938 kB / 0.9524 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.845e-05/0.2955, allocations: 15.84 kB / 0.9525 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006465/0.2962, allocations: 119.6 kB / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.2963, allocations: 79.77 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.318e-05/0.2964, allocations: 11.92 kB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.2965, allocations: 35.91 kB / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.986e-05/0.2966, allocations: 43.83 kB / 0.9527 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.2967, allocations: 8 kB / 0.9527 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.2969, allocations: 95.84 kB / 0.9528 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.887e-05/0.2969, allocations: 11.98 kB / 0.9529 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.155e-05/0.297, allocations: 39.78 kB / 0.9529 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.2972, allocations: 136 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2972, allocations: 3.938 kB / 0.953 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2972, allocations: 0 / 0.953 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2973, allocations: 0 / 0.953 GB, free: 6.039 MB / 0.7325 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.0006459/0.2979, allocations: 424.9 kB / 0.9534 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2979, allocations: 8.031 kB / 0.9534 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.298, allocations: 8.844 kB / 0.9534 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.2981, allocations: 168.3 kB / 0.9536 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.2981, allocations: 12.36 kB / 0.9536 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.2982, allocations: 4.375 kB / 0.9536 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.2984, allocations: 73.91 kB / 0.9537 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.2984, allocations: 0 / 0.9537 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.2984, allocations: 8 kB / 0.9537 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.2984, allocations: 4 kB / 0.9537 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.2986, allocations: 35.97 kB / 0.9537 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006087/0.2992, allocations: 316.7 kB / 0.954 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.2993, allocations: 54.48 kB / 0.9541 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.318e-05/0.2994, allocations: 36.97 kB / 0.9541 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.2994, allocations: 3.938 kB / 0.9541 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001982/0.2997, allocations: 75.38 kB / 0.9542 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.2997, allocations: 0 / 0.9542 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004094/0.3001, allocations: 149.5 kB / 0.9543 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.3001, allocations: 51.41 kB / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.127e-05/0.3002, allocations: 117.8 kB / 0.9545 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.3002, allocations: 33.64 kB / 0.9545 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.3003, allocations: 92.2 kB / 0.9546 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.3003, allocations: 23.73 kB / 0.9546 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.3004, allocations: 25.7 kB / 0.9547 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3005, allocations: 322.8 kB / 0.955 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.691e-05/0.3006, allocations: 31.98 kB / 0.955 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.094e-05/0.3007, allocations: 42.56 kB / 0.9551 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.3009, allocations: 74.48 kB / 0.9551 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3009, allocations: 4 kB / 0.9551 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002339/0.3011, allocations: 113.5 kB / 0.9552 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3011, allocations: 4 kB / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3011, allocations: 4 kB / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3012, allocations: 0 / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.665e-05/0.3013, allocations: 11.98 kB / 0.9553 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.3013, allocations: 400 / 0.9553 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.746e-05/0.3014, allocations: 7.906 kB / 0.9553 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.3014, allocations: 4.062 kB / 0.9553 GB, free: 3.492 MB / 0.7325 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 8.655e-05/0.3015, allocations: 135.7 kB / 0.9554 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.3015, allocations: 4 kB / 0.9554 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.3015, allocations: 8.375 kB / 0.9554 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3015, allocations: 0 / 0.9554 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3015, allocations: 0 / 0.9554 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3015, allocations: 0 / 0.9554 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004215/0.302, allocations: 394.3 kB / 0.9558 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.302, allocations: 0 / 0.9558 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.302, allocations: 7.938 kB / 0.9558 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.302, allocations: 3.984 kB / 0.9558 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.3021, allocations: 4 kB / 0.9558 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3021, allocations: 3.938 kB / 0.9558 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3021, allocations: 3.938 kB / 0.9558 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.3023, allocations: 203.5 kB / 0.956 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.3024, allocations: 89 kB / 0.9561 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.3024, allocations: 4 kB / 0.9561 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.642e-05/0.3025, allocations: 4 kB / 0.9561 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.3026, allocations: 7.922 kB / 0.9561 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.3026, allocations: 8 kB / 0.9561 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.97e-05/0.3026, allocations: 99.8 kB / 0.9562 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3026, allocations: 0 / 0.9562 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002991/0.3029, allocations: 36 kB / 0.9562 GB, free: 2.398 MB / 0.7325 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.0003452/0.3033, allocations: 161.8 kB / 0.9564 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.3035, allocations: 75.88 kB / 0.9565 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3036, allocations: 0 / 0.9565 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.3037, allocations: 36.11 kB / 0.9565 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.3039, allocations: 13.36 kB / 0.9565 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/0.3044, allocations: 202.1 kB / 0.9567 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.3046, allocations: 0.6961 MB / 0.9574 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.3047, allocations: 19.38 kB / 0.9574 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.3047, allocations: 0 / 0.9574 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of Templates: time 0.003552/0.3082, allocations: 1.62 MB / 0.959 GB, free: 15.53 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches