Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001876/0.001877, allocations: 116.3 kB / 17.08 MB, free: 5.824 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002178/0.002178, allocations: 194.2 kB / 20.03 MB, free: 2.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.676/2.676, allocations: 437.1 MB / 0.7177 GB, free: 4.484 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 71.89 kB / 1.028 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3085, allocations: 151.6 MB / 1.176 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002835/0.3113, allocations: 1.632 MB / 1.177 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.3129, allocations: 0.7984 MB / 1.178 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/0.313, allocations: 4 kB / 1.178 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.224e-05/0.313, allocations: 11.86 kB / 1.178 GB, free: 3.43 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.894e-05/0.3131, allocations: 23.72 kB / 1.178 GB, free: 3.406 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006113/0.3137, allocations: 151.6 kB / 1.178 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.3139, allocations: 159.5 kB / 1.179 GB, free: 3.102 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.718e-05/0.314, allocations: 21.06 kB / 1.179 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.3142, allocations: 67.81 kB / 1.179 GB, free: 3.012 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.3143, allocations: 79.72 kB / 1.179 GB, free: 2.934 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.3143, allocations: 15.94 kB / 1.179 GB, free: 2.918 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.3146, allocations: 103.9 kB / 1.179 GB, free: 2.816 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.3146, allocations: 31.91 kB / 1.179 GB, free: 2.785 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.84e-05/0.3147, allocations: 59.72 kB / 1.179 GB, free: 2.727 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.315, allocations: 215.2 kB / 1.179 GB, free: 2.516 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.315, allocations: 0 / 1.179 GB, free: 2.516 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.233e-06/0.315, allocations: 0 / 1.179 GB, free: 2.516 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.315, allocations: 0 / 1.179 GB, free: 2.516 MB / 0.92 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.0008561/0.3159, allocations: 0.5444 MB / 1.18 GB, free: 1.898 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3159, allocations: 8.031 kB / 1.18 GB, free: 1.891 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.156e-05/0.316, allocations: 16.89 kB / 1.18 GB, free: 1.875 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.3162, allocations: 188.1 kB / 1.18 GB, free: 1.652 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.3162, allocations: 4.359 kB / 1.18 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.3163, allocations: 8.375 kB / 1.18 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/0.3167, allocations: 141.8 kB / 1.18 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3168, allocations: 0 / 1.18 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.3168, allocations: 4 kB / 1.18 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.3168, allocations: 0 / 1.18 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004353/0.3172, allocations: 103.9 kB / 1.18 GB, free: 1.391 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008032/0.318, allocations: 384.6 kB / 1.18 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.3185, allocations: 106.4 kB / 1.181 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.3188, allocations: 80.8 kB / 1.181 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.3189, allocations: 160 / 1.181 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005533/0.3194, allocations: 147.3 kB / 1.181 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 3.376e-06/0.3194, allocations: 112 / 1.181 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.001277/0.3207, allocations: 317.2 kB / 1.181 GB, free: 304 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.3208, allocations: 55.41 kB / 1.181 GB, free: 236 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.3209, allocations: 145.3 kB / 1.181 GB, free: 80 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.321, allocations: 29.7 kB / 1.181 GB, free: 44 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.651e-05/0.3211, allocations: 108.2 kB / 1.181 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.3211, allocations: 23.8 kB / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.115e-05/0.3212, allocations: 37.7 kB / 1.181 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3213, allocations: 322.8 kB / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.3215, allocations: 39.97 kB / 1.182 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.3217, allocations: 81.11 kB / 1.182 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.3219, allocations: 125 kB / 1.182 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.322, allocations: 0 / 1.182 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003811/0.3223, allocations: 161.4 kB / 1.182 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3224, allocations: 4 kB / 1.182 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3224, allocations: 4 kB / 1.182 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3224, allocations: 0 / 1.182 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.3226, allocations: 23.92 kB / 1.182 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3226, allocations: 0 / 1.182 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.3227, allocations: 20.06 kB / 1.182 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.3227, allocations: 8 kB / 1.182 GB, free: 15.04 MB / 0.9356 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 0.0001236/0.3229, allocations: 121.8 kB / 1.182 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.3229, allocations: 15.88 kB / 1.182 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/0.3229, allocations: 12.72 kB / 1.182 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3229, allocations: 0 / 1.182 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.323, allocations: 0 / 1.182 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.323, allocations: 0 / 1.182 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.3241, allocations: 0.5333 MB / 1.183 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3241, allocations: 4 kB / 1.183 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.3242, allocations: 16.45 kB / 1.183 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3242, allocations: 0 / 1.183 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.3243, allocations: 7.984 kB / 1.183 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.3243, allocations: 3.938 kB / 1.183 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3243, allocations: 0 / 1.183 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008339/0.3251, allocations: 331.2 kB / 1.183 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.3252, allocations: 85.05 kB / 1.183 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.3252, allocations: 4 kB / 1.183 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.3255, allocations: 31.84 kB / 1.183 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.3255, allocations: 11.98 kB / 1.183 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.3255, allocations: 0 / 1.183 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.312e-05/0.3256, allocations: 111.2 kB / 1.183 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3256, allocations: 0 / 1.183 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000347/0.326, allocations: 51.88 kB / 1.184 GB, free: 13.62 MB / 0.9356 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.0004085/0.3264, allocations: 160.8 kB / 1.184 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005722/0.327, allocations: 147.8 kB / 1.184 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.327, allocations: 0 / 1.184 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003616/0.3274, allocations: 100.1 kB / 1.184 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.3276, allocations: 4 kB / 1.184 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007741/0.3284, allocations: 297.8 kB / 1.184 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.3288, allocations: 0.6991 MB / 1.185 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.3288, allocations: 15.42 kB / 1.185 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.3288, allocations: 0 / 1.185 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of Templates: time 0.004529/0.3334, allocations: 2.158 MB / 1.187 GB, free: 10.01 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.8103058579145]