Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 106 kB / 15.99 MB, free: 5.836 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.001531/0.001531, allocations: 197.7 kB / 16.91 MB, free: 5.707 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.385/1.385, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.267/2.267, allocations: 390.2 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.42 kB / 0.8127 GB, free: 33.18 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2646, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003037/0.2676, allocations: 1.562 MB / 0.9513 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.269, allocations: 0.7207 MB / 0.952 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.2691, allocations: 0 / 0.952 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.2691, allocations: 11.88 kB / 0.952 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.698e-05/0.2692, allocations: 7.938 kB / 0.952 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006085/0.2698, allocations: 107.8 kB / 0.9521 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.27, allocations: 79.7 kB / 0.9522 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.954e-05/0.2701, allocations: 15.98 kB / 0.9522 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.326e-05/0.2702, allocations: 35.89 kB / 0.9522 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/0.2703, allocations: 39.84 kB / 0.9523 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.2703, allocations: 8 kB / 0.9523 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.2705, allocations: 95.84 kB / 0.9524 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.2705, allocations: 19.97 kB / 0.9524 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.841e-05/0.2706, allocations: 35.8 kB / 0.9524 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.2708, allocations: 108 kB / 0.9525 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2708, allocations: 0 / 0.9525 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2708, allocations: 0 / 0.9525 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.2708, allocations: 0 / 0.9525 GB, free: 6.371 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.0006527/0.2715, allocations: 417.9 kB / 0.9529 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.2715, allocations: 8.031 kB / 0.9529 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.2716, allocations: 12.83 kB / 0.953 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.2717, allocations: 172.3 kB / 0.9531 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.2717, allocations: 384 / 0.9531 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.2718, allocations: 4.375 kB / 0.9531 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.272, allocations: 73.97 kB / 0.9532 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.272, allocations: 0 / 0.9532 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.272, allocations: 3.938 kB / 0.9532 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.272, allocations: 8 kB / 0.9532 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.2722, allocations: 39.91 kB / 0.9532 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006772/0.2728, allocations: 316.7 kB / 0.9535 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.273, allocations: 50.55 kB / 0.9536 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.516e-05/0.2731, allocations: 32.97 kB / 0.9536 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.2731, allocations: 3.938 kB / 0.9536 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.2734, allocations: 75.38 kB / 0.9537 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.2734, allocations: 0 / 0.9537 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004186/0.2738, allocations: 133.5 kB / 0.9538 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.2738, allocations: 59.41 kB / 0.9539 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.476e-05/0.2739, allocations: 121.8 kB / 0.954 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.274, allocations: 29.7 kB / 0.954 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.274, allocations: 92.2 kB / 0.9541 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.2741, allocations: 19.69 kB / 0.9541 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.2741, allocations: 29.7 kB / 0.9542 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2743, allocations: 322.8 kB / 0.9545 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.584e-05/0.2744, allocations: 31.98 kB / 0.9545 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.362e-05/0.2745, allocations: 51.41 kB / 0.9546 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.2746, allocations: 83.28 kB / 0.9546 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2746, allocations: 4 kB / 0.9546 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002494/0.2749, allocations: 113.5 kB / 0.9547 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2749, allocations: 4 kB / 0.9547 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2749, allocations: 4.312 kB / 0.9548 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2749, allocations: 0 / 0.9548 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.936e-05/0.2751, allocations: 19.98 kB / 0.9548 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2751, allocations: 4 kB / 0.9548 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.854e-05/0.2752, allocations: 11.91 kB / 0.9548 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.2752, allocations: 11.98 kB / 0.9548 GB, free: 3.801 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.0001051/0.2753, allocations: 127.7 kB / 0.9549 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.2753, allocations: 8.031 kB / 0.9549 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.2754, allocations: 8.375 kB / 0.9549 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2754, allocations: 0 / 0.9549 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2754, allocations: 0 / 0.9549 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2754, allocations: 0 / 0.9549 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.2759, allocations: 390.2 kB / 0.9553 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2759, allocations: 4 kB / 0.9553 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.2759, allocations: 3.984 kB / 0.9553 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.2759, allocations: 4 kB / 0.9553 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.276, allocations: 4 kB / 0.9553 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.276, allocations: 0 / 0.9553 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.276, allocations: 3.938 kB / 0.9553 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.2763, allocations: 207.5 kB / 0.9555 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.09e-05/0.2763, allocations: 85 kB / 0.9556 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.2763, allocations: 0 / 0.9556 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-05/0.2764, allocations: 8 kB / 0.9556 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.2765, allocations: 11.92 kB / 0.9556 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.2765, allocations: 0 / 0.9556 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.321e-05/0.2766, allocations: 95.27 kB / 0.9557 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2766, allocations: 0 / 0.9557 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003151/0.2769, allocations: 36 kB / 0.9557 GB, free: 2.727 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,occ.y,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.0003699/0.2773, allocations: 165.6 kB / 0.9559 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002383/0.2775, allocations: 63.91 kB / 0.956 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.2775, allocations: 11.94 kB / 0.956 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.768e-05/0.2776, allocations: 44.03 kB / 0.956 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.2779, allocations: 0 / 0.956 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.2783, allocations: 230 kB / 0.9562 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.2786, allocations: 0.6922 MB / 0.9569 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.2786, allocations: 15.42 kB / 0.9569 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2786, allocations: 0 / 0.9569 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of Templates: time 0.003521/0.2822, allocations: 1.628 MB / 0.9585 GB, free: 15.83 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches