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.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.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.001634/0.001634, allocations: 100.1 kB / 15.88 MB, free: 12 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.001598/0.001598, allocations: 196 kB / 16.79 MB, free: 6.809 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.336/1.336, allocations: 222.9 MB / 240.5 MB, free: 4.605 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.38/2.38, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 71.88 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6189/0.6203, allocations: 140.4 MB / 0.9496 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002488/0.6228, allocations: 1.691 MB / 0.9512 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.6239, allocations: 0.797 MB / 0.952 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.624, allocations: 1.594 kB / 0.952 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.755e-05/0.624, allocations: 7.922 kB / 0.952 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.805e-05/0.6241, allocations: 22.48 kB / 0.952 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.6246, allocations: 128 kB / 0.9522 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.6247, allocations: 142.3 kB / 0.9523 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.804e-05/0.6248, allocations: 26.19 kB / 0.9523 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.365e-05/0.6249, allocations: 64.89 kB / 0.9524 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.996e-05/0.625, allocations: 74.62 kB / 0.9525 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.625, allocations: 7.125 kB / 0.9525 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.6252, allocations: 89.25 kB / 0.9526 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.304e-05/0.6253, allocations: 36.97 kB / 0.9526 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.6253, allocations: 52.34 kB / 0.9526 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.6255, allocations: 147.7 kB / 0.9528 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.6255, allocations: 5.406 kB / 0.9528 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.41e-07/0.6255, allocations: 4 kB / 0.9528 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.6255, allocations: 0 / 0.9528 GB, free: 6.918 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.0006669/0.6262, allocations: 0.5319 MB / 0.9533 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.6263, allocations: 8.688 kB / 0.9533 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.6263, allocations: 11.75 kB / 0.9533 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.836e-05/0.6264, allocations: 190.3 kB / 0.9535 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.6264, allocations: 3.688 kB / 0.9535 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.6265, allocations: 8.562 kB / 0.9535 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004424/0.6269, allocations: 147.5 kB / 0.9537 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.6269, allocations: 0 / 0.9537 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.627, allocations: 5.312 kB / 0.9537 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.627, allocations: 1.625 kB / 0.9537 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003896/0.6274, allocations: 110.5 kB / 0.9538 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006664/0.628, allocations: 377.6 kB / 0.9541 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.6284, allocations: 95.97 kB / 0.9542 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.6287, allocations: 94.78 kB / 0.9543 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.6287, allocations: 0 / 0.9543 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003695/0.6291, allocations: 138.2 kB / 0.9544 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.6291, allocations: 4 kB / 0.9545 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001064/0.6302, allocations: 303.8 kB / 0.9547 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.6302, allocations: 60.95 kB / 0.9548 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.6303, allocations: 144 kB / 0.9549 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.6303, allocations: 30.8 kB / 0.955 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.527e-05/0.6304, allocations: 104.7 kB / 0.9551 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.6304, allocations: 19.53 kB / 0.9551 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.6305, allocations: 30.73 kB / 0.9551 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.552e-05/0.6305, allocations: 329.1 kB / 0.9554 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.6307, allocations: 43.34 kB / 0.9555 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.6308, allocations: 83.64 kB / 0.9555 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.6311, allocations: 118.9 kB / 0.9557 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6311, allocations: 3.938 kB / 0.9557 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003293/0.6314, allocations: 168.3 kB / 0.9558 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.6314, allocations: 9.328 kB / 0.9558 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6314, allocations: 1.531 kB / 0.9558 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.6314, allocations: 2.812 kB / 0.9558 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.6316, allocations: 20.86 kB / 0.9559 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.6316, allocations: 2.344 kB / 0.9559 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.6317, allocations: 15.39 kB / 0.9559 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.6317, allocations: 8.375 kB / 0.9559 GB, free: 4.223 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 7.331e-05/0.6318, allocations: 124.7 kB / 0.956 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.6319, allocations: 12.44 kB / 0.956 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.6319, allocations: 15.14 kB / 0.956 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.6319, allocations: 5.125 kB / 0.956 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6319, allocations: 1.188 kB / 0.956 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.6319, allocations: 0 / 0.956 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008778/0.6328, allocations: 0.5257 MB / 0.9565 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6328, allocations: 0 / 0.9565 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.618e-05/0.6329, allocations: 17.3 kB / 0.9566 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6329, allocations: 0 / 0.9566 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.6329, allocations: 10.05 kB / 0.9566 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.6329, allocations: 3.938 kB / 0.9566 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.6329, allocations: 1.406 kB / 0.9566 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007015/0.6337, allocations: 325.3 kB / 0.9569 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.6337, allocations: 90.78 kB / 0.957 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.6337, allocations: 1.781 kB / 0.957 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.6339, allocations: 24.41 kB / 0.957 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.634, allocations: 15.61 kB / 0.957 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.634, allocations: 3.562 kB / 0.957 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.303e-05/0.6341, allocations: 110.2 kB / 0.9571 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6341, allocations: 0 / 0.9571 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000338/0.6344, allocations: 47.78 kB / 0.9572 GB, free: 3.141 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.0003179/0.6348, allocations: 176.4 kB / 0.9573 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005137/0.6353, allocations: 142.8 kB / 0.9575 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6353, allocations: 1.125 kB / 0.9575 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.6356, allocations: 92.42 kB / 0.9576 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.6359, allocations: 13.08 kB / 0.9576 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/0.6365, allocations: 322 kB / 0.9579 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.6366, allocations: 0.6958 MB / 0.9586 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/0.6367, allocations: 19.48 kB / 0.9586 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of SimCode: time 4.41e-07/0.6367, allocations: 0 / 0.9586 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of Templates: time 0.003698/0.6404, allocations: 2.137 MB / 0.9607 GB, free: 0.8164 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/jenkins1/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