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: 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_9_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_9_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.001549/0.001549, allocations: 107.9 kB / 16.27 MB, free: 6.355 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.001816/0.001816, allocations: 195.4 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.342/1.342, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.179/2.179, allocations: 390.2 MB / 0.6653 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002209/0.00221, allocations: 63.41 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2839, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003363/0.2873, allocations: 1.586 MB / 0.9518 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.2888, allocations: 0.7906 MB / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.412e-05/0.2889, allocations: 0 / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.331e-05/0.289, allocations: 11.86 kB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.207e-05/0.2891, allocations: 15.81 kB / 0.9526 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006667/0.2898, allocations: 151.6 kB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.29, allocations: 135.5 kB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.2901, allocations: 15.98 kB / 0.9529 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.2903, allocations: 59.88 kB / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.2904, allocations: 75.72 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.2904, allocations: 16 kB / 0.953 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.2907, allocations: 103.8 kB / 0.9531 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.159e-05/0.2907, allocations: 27.91 kB / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.959e-05/0.2908, allocations: 59.7 kB / 0.9532 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.2911, allocations: 191.7 kB / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2911, allocations: 0 / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2911, allocations: 0 / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.2911, allocations: 0 / 0.9534 GB, free: 5.652 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008205/0.292, allocations: 482.5 kB / 0.9539 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.292, allocations: 8.031 kB / 0.9539 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/0.2921, allocations: 12.75 kB / 0.9539 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.2922, allocations: 189.8 kB / 0.9541 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.2923, allocations: 12.31 kB / 0.9541 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.2923, allocations: 8.125 kB / 0.9541 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.2926, allocations: 93.62 kB / 0.9542 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2926, allocations: 0 / 0.9542 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.2926, allocations: 7.984 kB / 0.9542 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.2926, allocations: 4 kB / 0.9542 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.2928, allocations: 63.89 kB / 0.9543 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008961/0.2937, allocations: 368.6 kB / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.2939, allocations: 70.48 kB / 0.9547 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.2941, allocations: 52.83 kB / 0.9547 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.2941, allocations: 0 / 0.9547 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002583/0.2944, allocations: 107.3 kB / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.2944, allocations: 0 / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0006048/0.295, allocations: 213.4 kB / 0.955 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.2951, allocations: 59.34 kB / 0.9551 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.2952, allocations: 147.5 kB / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.2952, allocations: 33.7 kB / 0.9553 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.2953, allocations: 92.38 kB / 0.9553 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.2953, allocations: 35.78 kB / 0.9554 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.2954, allocations: 29.7 kB / 0.9554 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.2955, allocations: 330.8 kB / 0.9557 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.2957, allocations: 35.97 kB / 0.9558 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.2958, allocations: 76.14 kB / 0.9558 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.2961, allocations: 112.2 kB / 0.9559 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.2961, allocations: 4 kB / 0.9559 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003604/0.2964, allocations: 157.4 kB / 0.9561 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2965, allocations: 4 kB / 0.9561 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2965, allocations: 0 / 0.9561 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.2965, allocations: 4 kB / 0.9561 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.2967, allocations: 20.05 kB / 0.9561 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.2967, allocations: 11.88 kB / 0.9561 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.2968, allocations: 15.89 kB / 0.9561 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.2968, allocations: 4.047 kB / 0.9562 GB, free: 2.582 MB / 0.7325 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.000109/0.2969, allocations: 125.9 kB / 0.9563 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.297, allocations: 11.91 kB / 0.9563 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.297, allocations: 16.81 kB / 0.9563 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.297, allocations: 3.938 kB / 0.9563 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.297, allocations: 3.938 kB / 0.9563 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.297, allocations: 0 / 0.9563 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006284/0.2977, allocations: 466.7 kB / 0.9568 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2977, allocations: 0 / 0.9568 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.55e-05/0.2978, allocations: 7.984 kB / 0.9568 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.2978, allocations: 3.938 kB / 0.9568 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.2978, allocations: 7.938 kB / 0.9568 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2978, allocations: 0 / 0.9568 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2978, allocations: 0 / 0.9568 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004361/0.2982, allocations: 271.3 kB / 0.957 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.2983, allocations: 92.86 kB / 0.9571 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.2983, allocations: 0 / 0.9571 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.2985, allocations: 7.984 kB / 0.9571 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.2985, allocations: 11.98 kB / 0.9571 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.2985, allocations: 0 / 0.9571 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.963e-05/0.2986, allocations: 112.9 kB / 0.9572 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2986, allocations: 0 / 0.9572 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003475/0.299, allocations: 44 kB / 0.9573 GB, free: 1.32 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: 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.0003805/0.2994, allocations: 163 kB / 0.9574 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003653/0.2997, allocations: 107.8 kB / 0.9575 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2998, allocations: 4.188 kB / 0.9575 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.2999, allocations: 55.97 kB / 0.9576 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.3002, allocations: 17.94 kB / 0.9576 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005436/0.3008, allocations: 266.3 kB / 0.9579 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.301, allocations: 0.6962 MB / 0.9586 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.3011, allocations: 15.38 kB / 0.9586 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of SimCode: time 2.925e-06/0.3011, allocations: 4 kB / 0.9586 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of Templates: time 0.004502/0.3056, allocations: 2.052 MB / 0.9606 GB, free: 13.9 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (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 & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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