Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001239/0.001239, allocations: 107.1 kB / 16.37 MB, free: 6.477 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.001623/0.001623, allocations: 196.4 kB / 17.31 MB, free: 5.824 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.669/2.669, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 63.2 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3093, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002811/0.3121, allocations: 1.644 MB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.3135, allocations: 0.8061 MB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.282e-05/0.3135, allocations: 0 / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.604e-05/0.3136, allocations: 7.875 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.338e-05/0.3136, allocations: 27.72 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005426/0.3142, allocations: 147.6 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.3144, allocations: 159.5 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3145, allocations: 21.12 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.3146, allocations: 67.81 kB / 1.03 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3148, allocations: 75.72 kB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.3148, allocations: 15.98 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.315, allocations: 103.9 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.953e-05/0.315, allocations: 35.89 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.621e-05/0.3151, allocations: 63.7 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.3154, allocations: 207.4 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3154, allocations: 3.938 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3154, allocations: 0 / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3154, allocations: 0 / 1.03 GB, free: 14.68 MB / 0.8106 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.0007333/0.3161, allocations: 0.5369 MB / 1.031 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.3162, allocations: 11.97 kB / 1.031 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.3162, allocations: 8.844 kB / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.3164, allocations: 192 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.3164, allocations: 8.375 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.3164, allocations: 4.375 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004465/0.3169, allocations: 141.9 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3169, allocations: 4 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.3169, allocations: 3.984 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3169, allocations: 0 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.3173, allocations: 103.8 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007533/0.3181, allocations: 384.5 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.3185, allocations: 94.5 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.3188, allocations: 100.7 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.3188, allocations: 0 / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004371/0.3193, allocations: 139.5 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.3193, allocations: 0 / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.001077/0.3203, allocations: 301.3 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.3204, allocations: 63.38 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.3205, allocations: 148 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.3206, allocations: 29.7 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.3206, allocations: 104.4 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.3207, allocations: 23.75 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.3208, allocations: 33.64 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3209, allocations: 330.8 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.3211, allocations: 39.97 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.3213, allocations: 81.06 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.3215, allocations: 121 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3215, allocations: 0 / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003489/0.3219, allocations: 153.8 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3219, allocations: 11.12 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3219, allocations: 96 / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.322, allocations: 7.984 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.3221, allocations: 31.98 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.3221, allocations: 8 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.3222, allocations: 15.89 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.3223, allocations: 4 kB / 1.033 GB, free: 11.21 MB / 0.8106 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.0001129/0.3224, allocations: 125.8 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.3224, allocations: 7.906 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.86e-05/0.3225, allocations: 12.72 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3225, allocations: 0 / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3225, allocations: 8 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3225, allocations: 0 / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.3235, allocations: 0.5255 MB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3236, allocations: 3.938 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.498e-05/0.3236, allocations: 11.98 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3237, allocations: 0 / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.3237, allocations: 3.984 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.3237, allocations: 11.92 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3237, allocations: 0 / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007581/0.3245, allocations: 327.1 kB / 1.034 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.3245, allocations: 89.02 kB / 1.034 GB, free: 9.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.3246, allocations: 0 / 1.034 GB, free: 9.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.3248, allocations: 27.91 kB / 1.034 GB, free: 9.965 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.3249, allocations: 11.98 kB / 1.034 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.3249, allocations: 7.984 kB / 1.034 GB, free: 9.945 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.142e-05/0.325, allocations: 105.7 kB / 1.034 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.325, allocations: 0 / 1.034 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003657/0.3253, allocations: 51.92 kB / 1.034 GB, free: 9.793 MB / 0.8106 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.0003829/0.3257, allocations: 162.9 kB / 1.035 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005052/0.3262, allocations: 140 kB / 1.035 GB, free: 9.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3263, allocations: 4.062 kB / 1.035 GB, free: 9.496 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.3266, allocations: 87.92 kB / 1.035 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.3269, allocations: 11.98 kB / 1.035 GB, free: 9.398 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007503/0.3276, allocations: 272.2 kB / 1.035 GB, free: 9.109 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.3279, allocations: 0.6963 MB / 1.036 GB, free: 8.387 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.056e-05/0.3279, allocations: 8.172 kB / 1.036 GB, free: 8.379 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.328, allocations: 19.44 kB / 1.036 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.328, allocations: 0 / 1.036 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of Templates: time 0.005167/0.3332, allocations: 2.01 MB / 1.038 GB, free: 6.375 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches