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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0007964/0.0007964, allocations: 92.16 kB / 16.02 MB, free: 80 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.0009153/0.0009154, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.352/2.352, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003334, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6247/0.6251, allocations: 142.4 MB / 0.9557 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.00153/0.6267, allocations: 1.213 MB / 0.9569 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.6278, allocations: 0.71 MB / 0.9576 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.6279, allocations: 0.9688 kB / 0.9576 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.331e-05/0.628, allocations: 3.938 kB / 0.9576 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.116e-05/0.628, allocations: 13.95 kB / 0.9576 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005666/0.6286, allocations: 108.8 kB / 0.9577 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.6287, allocations: 70.97 kB / 0.9578 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.643e-05/0.6288, allocations: 17.69 kB / 0.9578 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.251e-05/0.6289, allocations: 29.53 kB / 0.9578 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.629, allocations: 35 kB / 0.9579 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.629, allocations: 3.312 kB / 0.9579 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.6292, allocations: 97.66 kB / 0.958 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.6293, allocations: 14.59 kB / 0.958 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.707e-05/0.6293, allocations: 57.48 kB / 0.958 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.6295, allocations: 103.3 kB / 0.9581 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.6295, allocations: 1.281 kB / 0.9581 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6295, allocations: 0 / 0.9581 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.6295, allocations: 0 / 0.9581 GB, free: 5.945 MB / 0.7169 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.0005294/0.6301, allocations: 405.7 kB / 0.9585 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.6301, allocations: 13 kB / 0.9585 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.6302, allocations: 8.688 kB / 0.9585 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.646e-05/0.6303, allocations: 167.9 kB / 0.9587 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.6303, allocations: 11.97 kB / 0.9587 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.6303, allocations: 3.938 kB / 0.9587 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.6305, allocations: 69.69 kB / 0.9588 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.505e-06/0.6305, allocations: 1.75 kB / 0.9588 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.6305, allocations: 4 kB / 0.9588 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.6305, allocations: 5.844 kB / 0.9588 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.6307, allocations: 44.84 kB / 0.9588 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005506/0.6312, allocations: 320.4 kB / 0.9591 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.6314, allocations: 55.17 kB / 0.9592 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.932e-05/0.6315, allocations: 34.84 kB / 0.9592 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.6315, allocations: 5.312 kB / 0.9592 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.6316, allocations: 87.92 kB / 0.9593 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.6317, allocations: 0 / 0.9593 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003941/0.6321, allocations: 144.4 kB / 0.9594 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.6321, allocations: 53.91 kB / 0.9595 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.351e-05/0.6322, allocations: 124.6 kB / 0.9596 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.6322, allocations: 30.83 kB / 0.9596 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.6322, allocations: 94.42 kB / 0.9597 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.6323, allocations: 18.39 kB / 0.9597 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.6323, allocations: 17.5 kB / 0.9598 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.382e-05/0.6323, allocations: 325.4 kB / 0.9601 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.401e-05/0.6324, allocations: 28.89 kB / 0.9601 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.698e-05/0.6325, allocations: 60.94 kB / 0.9602 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.6327, allocations: 84.73 kB / 0.9602 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6327, allocations: 0 / 0.9602 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002382/0.6329, allocations: 122.8 kB / 0.9604 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.633, allocations: 6.25 kB / 0.9604 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.633, allocations: 5.156 kB / 0.9604 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.633, allocations: 1.094 kB / 0.9604 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.027e-05/0.6331, allocations: 13.81 kB / 0.9604 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.6331, allocations: 10.2 kB / 0.9604 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.253e-05/0.6332, allocations: 13.53 kB / 0.9604 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.6332, allocations: 2.312 kB / 0.9604 GB, free: 3.789 MB / 0.7169 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 6.238e-05/0.6333, allocations: 122.8 kB / 0.9605 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.6333, allocations: 6.531 kB / 0.9605 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.6333, allocations: 13.83 kB / 0.9605 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.6333, allocations: 5.375 kB / 0.9606 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.6333, allocations: 3.938 kB / 0.9606 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.6334, allocations: 5.438 kB / 0.9606 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.6337, allocations: 384.7 kB / 0.9609 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.6337, allocations: 0 / 0.9609 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.6338, allocations: 4.062 kB / 0.9609 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.6338, allocations: 8.812 kB / 0.9609 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.6338, allocations: 8.891 kB / 0.9609 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.6338, allocations: 0 / 0.9609 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.6338, allocations: 4.969 kB / 0.961 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.6341, allocations: 211 kB / 0.9612 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.126e-05/0.6341, allocations: 86.98 kB / 0.9612 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.6342, allocations: 5.016 kB / 0.9612 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.932e-05/0.6343, allocations: 8.188 kB / 0.9612 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.6343, allocations: 10.89 kB / 0.9613 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.6343, allocations: 2.062 kB / 0.9613 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.584e-05/0.6344, allocations: 97.48 kB / 0.9614 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6344, allocations: 0 / 0.9614 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003067/0.6347, allocations: 40.81 kB / 0.9614 GB, free: 2.871 MB / 0.7169 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.0003083/0.635, allocations: 149.3 kB / 0.9615 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.6352, allocations: 83.11 kB / 0.9616 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6352, allocations: 5.5 kB / 0.9616 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.218e-05/0.6353, allocations: 33.98 kB / 0.9617 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.6356, allocations: 18.28 kB / 0.9617 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.636, allocations: 236.4 kB / 0.9619 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.6361, allocations: 0.6852 MB / 0.9626 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.6361, allocations: 14.17 kB / 0.9626 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/0.6361, allocations: 0 / 0.9626 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of Templates: time 0.003587/0.6397, allocations: 1.608 MB / 0.9641 GB, free: 0.9492 MB / 0.7169 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