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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_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.001678/0.001678, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001913/0.001914, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.337/1.337, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.524/2.524, allocations: 437 MB / 0.711 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 59 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2782, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003462/0.2817, allocations: 1.635 MB / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.2832, allocations: 0.8038 MB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.237e-05/0.2833, allocations: 4 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.2834, allocations: 7.875 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.819e-05/0.2835, allocations: 23.72 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006703/0.2841, allocations: 151.6 kB / 1.021 GB, free: 8.02 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.2843, allocations: 151.5 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.2845, allocations: 25.09 kB / 1.021 GB, free: 7.844 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.2846, allocations: 67.83 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.2848, allocations: 79.72 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.2848, allocations: 12 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/0.285, allocations: 103.8 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.474e-05/0.2851, allocations: 35.89 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.363e-05/0.2852, allocations: 59.7 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.2855, allocations: 211.7 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2855, allocations: 0 / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2855, allocations: 0 / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.2855, allocations: 0 / 1.021 GB, free: 7.285 MB / 0.795 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.0008277/0.2863, allocations: 0.5368 MB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.2864, allocations: 12.61 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.777e-05/0.2865, allocations: 12.84 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.2866, allocations: 186 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.2866, allocations: 8.375 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.2867, allocations: 4.375 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004815/0.2872, allocations: 149.9 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.2872, allocations: 0 / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.2872, allocations: 0 / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2872, allocations: 0 / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004254/0.2876, allocations: 107.9 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008398/0.2885, allocations: 388.4 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003733/0.2889, allocations: 102.5 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.2892, allocations: 88.78 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.2892, allocations: 3.938 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004524/0.2897, allocations: 147.2 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.2897, allocations: 0 / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.001137/0.2909, allocations: 301.3 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.2909, allocations: 59.41 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.291, allocations: 149.1 kB / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.2911, allocations: 29.7 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/0.2911, allocations: 100.3 kB / 1.024 GB, free: 4.707 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.2912, allocations: 23.66 kB / 1.024 GB, free: 4.684 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.2912, allocations: 33.7 kB / 1.024 GB, free: 4.645 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.2913, allocations: 326.8 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.2915, allocations: 43.97 kB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.2917, allocations: 81.12 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.292, allocations: 129 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.292, allocations: 0 / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003706/0.2923, allocations: 153.5 kB / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2924, allocations: 8.031 kB / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2924, allocations: 4 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.2924, allocations: 0 / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.2926, allocations: 23.97 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2926, allocations: 0 / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.2927, allocations: 19.89 kB / 1.024 GB, free: 3.82 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.2927, allocations: 4 kB / 1.024 GB, free: 3.816 MB / 0.795 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.000114/0.2928, allocations: 134.2 kB / 1.024 GB, free: 3.676 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.2929, allocations: 7.906 kB / 1.024 GB, free: 3.668 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.2929, allocations: 16.7 kB / 1.024 GB, free: 3.652 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2929, allocations: 0 / 1.024 GB, free: 3.652 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2929, allocations: 0 / 1.024 GB, free: 3.652 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2929, allocations: 384 / 1.024 GB, free: 3.652 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.294, allocations: 0.5334 MB / 1.025 GB, free: 3.062 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.294, allocations: 0 / 1.025 GB, free: 3.062 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.509e-05/0.2941, allocations: 11.98 kB / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2941, allocations: 0 / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.2941, allocations: 4.109 kB / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.2941, allocations: 11.88 kB / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.2941, allocations: 7.984 kB / 1.025 GB, free: 3.027 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008039/0.295, allocations: 327.1 kB / 1.025 GB, free: 2.691 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.295, allocations: 81.02 kB / 1.025 GB, free: 2.594 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.295, allocations: 11.98 kB / 1.025 GB, free: 2.582 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.2953, allocations: 23.91 kB / 1.025 GB, free: 2.559 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.2953, allocations: 11.94 kB / 1.025 GB, free: 2.547 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.2954, allocations: 3.984 kB / 1.025 GB, free: 2.543 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000113/0.2955, allocations: 111.2 kB / 1.026 GB, free: 2.434 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2955, allocations: 4 kB / 1.026 GB, free: 2.43 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003491/0.2958, allocations: 44 kB / 1.026 GB, free: 2.387 MB / 0.795 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.0003474/0.2962, allocations: 162.7 kB / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005452/0.2968, allocations: 147.8 kB / 1.026 GB, free: 2.09 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2968, allocations: 4 kB / 1.026 GB, free: 2.086 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003423/0.2971, allocations: 88.17 kB / 1.026 GB, free: 2 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.2974, allocations: 12 kB / 1.026 GB, free: 1.988 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007184/0.2981, allocations: 290 kB / 1.026 GB, free: 1.676 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.2984, allocations: 0.6974 MB / 1.027 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.2985, allocations: 19.42 kB / 1.027 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.2985, allocations: 0 / 1.027 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of Templates: time 0.004202/0.3027, allocations: 2.146 MB / 1.029 GB, free: 14.8 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches