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.001154/0.001154, allocations: 108 kB / 15.61 MB, free: 152 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.001159/0.001159, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.415/2.415, allocations: 390.2 MB / 0.6646 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 64.08 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.801/0.8024, allocations: 140.4 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002891/0.8053, allocations: 1.624 MB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.8068, allocations: 0.7906 MB / 0.9519 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.157e-05/0.8069, allocations: 0 / 0.9519 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.633e-05/0.8069, allocations: 11.86 kB / 0.9519 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.228e-05/0.807, allocations: 23.3 kB / 0.952 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006257/0.8077, allocations: 153.2 kB / 0.9521 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000164/0.8079, allocations: 156 kB / 0.9523 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.808, allocations: 34.8 kB / 0.9523 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.8081, allocations: 63.98 kB / 0.9524 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.8082, allocations: 74.66 kB / 0.9524 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.8082, allocations: 13.09 kB / 0.9524 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.8085, allocations: 105.4 kB / 0.9525 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.8085, allocations: 36.33 kB / 0.9526 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.462e-05/0.8086, allocations: 65.42 kB / 0.9526 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.8088, allocations: 203.9 kB / 0.9528 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.8089, allocations: 4 kB / 0.9528 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8089, allocations: 0 / 0.9528 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.8089, allocations: 1.094 kB / 0.9528 GB, free: 6.691 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.0007298/0.8096, allocations: 0.5318 MB / 0.9534 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.8097, allocations: 8.906 kB / 0.9534 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.922e-05/0.8097, allocations: 11.5 kB / 0.9534 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.8098, allocations: 198.5 kB / 0.9536 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.8099, allocations: 6.656 kB / 0.9536 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.8099, allocations: 5.875 kB / 0.9536 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004579/0.8104, allocations: 151.8 kB / 0.9537 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.8104, allocations: 0 / 0.9537 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.8104, allocations: 0 / 0.9537 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.8104, allocations: 2.406 kB / 0.9537 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/0.8108, allocations: 107.2 kB / 0.9538 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007156/0.8115, allocations: 380.8 kB / 0.9542 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/0.8119, allocations: 99.28 kB / 0.9543 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.8122, allocations: 91.19 kB / 0.9544 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.8122, allocations: 1.156 kB / 0.9544 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000451/0.8127, allocations: 141 kB / 0.9545 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.8127, allocations: 1.125 kB / 0.9545 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001126/0.8138, allocations: 301.9 kB / 0.9548 GB, free: 5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.8139, allocations: 57.98 kB / 0.9549 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.814, allocations: 149.5 kB / 0.955 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.814, allocations: 27.11 kB / 0.955 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.8141, allocations: 104.6 kB / 0.9551 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.8141, allocations: 31.25 kB / 0.9552 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.8142, allocations: 31.2 kB / 0.9552 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.969e-05/0.8142, allocations: 329.7 kB / 0.9555 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.8144, allocations: 38.25 kB / 0.9555 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.8145, allocations: 83.39 kB / 0.9556 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.8148, allocations: 127.2 kB / 0.9557 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8148, allocations: 4 kB / 0.9557 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003349/0.8151, allocations: 155.3 kB / 0.9559 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.8151, allocations: 6.25 kB / 0.9559 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.8152, allocations: 1.219 kB / 0.9559 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.8152, allocations: 2.438 kB / 0.9559 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.8153, allocations: 17.36 kB / 0.9559 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.8154, allocations: 15.25 kB / 0.9559 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.8155, allocations: 20.88 kB / 0.9559 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.8155, allocations: 6.609 kB / 0.956 GB, free: 3.984 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.007e-05/0.8156, allocations: 123.1 kB / 0.9561 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.8156, allocations: 13.66 kB / 0.9561 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.8156, allocations: 16.45 kB / 0.9561 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.8156, allocations: 0 / 0.9561 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8157, allocations: 0 / 0.9561 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.8157, allocations: 11.83 kB / 0.9561 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008736/0.8165, allocations: 0.514 MB / 0.9566 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.8166, allocations: 1.219 kB / 0.9566 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.338e-05/0.8166, allocations: 12.14 kB / 0.9566 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.8167, allocations: 1.188 kB / 0.9566 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.8167, allocations: 9.109 kB / 0.9566 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.8167, allocations: 5.188 kB / 0.9566 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8167, allocations: 0 / 0.9566 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007128/0.8174, allocations: 328.8 kB / 0.957 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.58e-05/0.8174, allocations: 88.23 kB / 0.957 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.8175, allocations: 6.219 kB / 0.957 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.8177, allocations: 28.09 kB / 0.9571 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.8178, allocations: 15.39 kB / 0.9571 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.8178, allocations: 6.266 kB / 0.9571 GB, free: 3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.128e-05/0.8179, allocations: 106.5 kB / 0.9572 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8179, allocations: 0 / 0.9572 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003644/0.8182, allocations: 51.33 kB / 0.9572 GB, free: 2.898 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.0003453/0.8186, allocations: 161.2 kB / 0.9574 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000531/0.8191, allocations: 144.5 kB / 0.9575 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8191, allocations: 4 kB / 0.9575 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.8195, allocations: 91.64 kB / 0.9576 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.8197, allocations: 15.5 kB / 0.9576 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006622/0.8204, allocations: 271.6 kB / 0.9579 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.8205, allocations: 0.703 MB / 0.9586 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.485e-05/0.8206, allocations: 8.422 kB / 0.9586 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.8207, allocations: 15.42 kB / 0.9586 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.8207, allocations: 0 / 0.9586 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of Templates: time 0.005474/0.8261, allocations: 2.007 MB / 0.9606 GB, free: 0.6992 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