Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,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.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,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.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001142, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001294/0.001295, allocations: 198.8 kB / 16.26 MB, free: 6.625 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.469/1.469, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.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.536/2.536, allocations: 390.2 MB / 0.6643 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8881/0.8894, allocations: 140.4 MB / 0.9491 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003135/0.8926, allocations: 1.682 MB / 0.9507 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.8938, allocations: 0.7889 MB / 0.9515 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.778e-05/0.894, allocations: 1.375 kB / 0.9515 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.529e-05/0.894, allocations: 3.938 kB / 0.9515 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.245e-05/0.8941, allocations: 26.31 kB / 0.9515 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006507/0.8948, allocations: 129.7 kB / 0.9517 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.895, allocations: 155.6 kB / 0.9518 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.8951, allocations: 26.69 kB / 0.9518 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.8952, allocations: 80.53 kB / 0.9519 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.8953, allocations: 70.48 kB / 0.952 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.8954, allocations: 13.59 kB / 0.952 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.8956, allocations: 100.8 kB / 0.9521 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.744e-05/0.8957, allocations: 36.86 kB / 0.9521 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.439e-05/0.8957, allocations: 67.55 kB / 0.9522 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.8961, allocations: 203.5 kB / 0.9524 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8961, allocations: 1.469 kB / 0.9524 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8961, allocations: 0 / 0.9524 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.8961, allocations: 4 kB / 0.9524 GB, free: 6.531 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007344/0.8968, allocations: 0.5316 MB / 0.9529 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.8969, allocations: 9.875 kB / 0.9529 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.595e-05/0.8969, allocations: 9.781 kB / 0.9529 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.264e-05/0.897, allocations: 191.1 kB / 0.9531 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.8971, allocations: 4.156 kB / 0.9531 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.8971, allocations: 12.06 kB / 0.9531 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004383/0.8975, allocations: 147.7 kB / 0.9533 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.8976, allocations: 0 / 0.9533 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.8976, allocations: 5.094 kB / 0.9533 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.8976, allocations: 1.219 kB / 0.9533 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003824/0.898, allocations: 104.2 kB / 0.9534 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007363/0.8987, allocations: 380.2 kB / 0.9537 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.8991, allocations: 104.7 kB / 0.9538 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/0.8994, allocations: 85.28 kB / 0.9539 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.8994, allocations: 1.594 kB / 0.9539 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004271/0.8998, allocations: 134.1 kB / 0.954 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 2.114e-06/0.8998, allocations: 3.938 kB / 0.954 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001095/0.9009, allocations: 310.2 kB / 0.9543 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.901, allocations: 59.19 kB / 0.9544 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.9011, allocations: 144.9 kB / 0.9545 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.9011, allocations: 30.88 kB / 0.9546 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.311e-05/0.9012, allocations: 105.2 kB / 0.9547 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.9012, allocations: 27.14 kB / 0.9547 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/0.9012, allocations: 30.8 kB / 0.9547 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.155e-05/0.9013, allocations: 329.2 kB / 0.955 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.9014, allocations: 43.16 kB / 0.9551 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.9016, allocations: 75.72 kB / 0.9552 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.9018, allocations: 126 kB / 0.9553 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.9018, allocations: 1.422 kB / 0.9553 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000332/0.9022, allocations: 163.7 kB / 0.9554 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.9022, allocations: 5.625 kB / 0.9554 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.9022, allocations: 1.375 kB / 0.9554 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.9022, allocations: 5.25 kB / 0.9554 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.9024, allocations: 26.75 kB / 0.9555 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.9024, allocations: 1.406 kB / 0.9555 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.9025, allocations: 15.62 kB / 0.9555 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.9025, allocations: 7.922 kB / 0.9555 GB, free: 3.832 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.147e-05/0.9026, allocations: 129.1 kB / 0.9556 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.9027, allocations: 12.69 kB / 0.9556 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.9027, allocations: 15.44 kB / 0.9556 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.9027, allocations: 1.531 kB / 0.9556 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9027, allocations: 0 / 0.9556 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.9027, allocations: 3.984 kB / 0.9556 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008591/0.9036, allocations: 0.514 MB / 0.9561 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.9036, allocations: 0 / 0.9561 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.496e-05/0.9037, allocations: 13.08 kB / 0.9562 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.9037, allocations: 4 kB / 0.9562 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.9037, allocations: 9.328 kB / 0.9562 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.9037, allocations: 5.031 kB / 0.9562 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.9037, allocations: 0 / 0.9562 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007264/0.9045, allocations: 326.2 kB / 0.9565 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.9045, allocations: 88.42 kB / 0.9566 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.9045, allocations: 13.08 kB / 0.9566 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.9048, allocations: 24.78 kB / 0.9566 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.9048, allocations: 7.453 kB / 0.9566 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.9049, allocations: 10.27 kB / 0.9566 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.678e-05/0.9049, allocations: 110 kB / 0.9567 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9049, allocations: 0 / 0.9567 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003444/0.9053, allocations: 52.27 kB / 0.9568 GB, free: 2.746 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,win.occ,win.on,win.p,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): 6 * 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.0003242/0.9056, allocations: 165.8 kB / 0.9569 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000506/0.9061, allocations: 147.3 kB / 0.9571 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.9061, allocations: 0 / 0.9571 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003084/0.9064, allocations: 97.52 kB / 0.9572 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.9067, allocations: 10.52 kB / 0.9572 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006926/0.9074, allocations: 302.1 kB / 0.9575 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.9076, allocations: 0.6991 MB / 0.9582 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.48e-05/0.9076, allocations: 7.938 kB / 0.9582 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.9077, allocations: 15.83 kB / 0.9582 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.9077, allocations: 0 / 0.9582 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of Templates: time 0.004856/0.9125, allocations: 1.923 MB / 0.9601 GB, free: 0.5508 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches