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.001257/0.001257, allocations: 120.1 kB / 17.13 MB, free: 5.758 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.001384/0.001384, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.484/1.484, allocations: 225.6 MB / 248.5 MB, free: 3.652 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.55/2.55, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5763 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.002003/0.002003, allocations: 63.89 kB / 1.057 GB, free: 2.016 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2905, allocations: 160.7 MB / 1.214 GB, free: 0.9805 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003082/0.2936, allocations: 1.637 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.2952, allocations: 0.807 MB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.601e-05/0.2952, allocations: 4 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.682e-05/0.2953, allocations: 11.86 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.124e-05/0.2953, allocations: 19.73 kB / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006398/0.296, allocations: 159.6 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.2962, allocations: 159.5 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.2963, allocations: 13.06 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.2964, allocations: 63.83 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.2965, allocations: 79.72 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.2966, allocations: 12 kB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.2968, allocations: 115.8 kB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.294e-05/0.2968, allocations: 31.89 kB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.027e-05/0.2969, allocations: 63.66 kB / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.2972, allocations: 211.3 kB / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2972, allocations: 7.938 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2972, allocations: 0 / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2972, allocations: 0 / 1.217 GB, free: 13.57 MB / 0.9669 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.0008729/0.2981, allocations: 0.5465 MB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2981, allocations: 8.031 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.2982, allocations: 8.891 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.2984, allocations: 193.7 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.2984, allocations: 8.312 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.2984, allocations: 12.38 kB / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.2989, allocations: 133.9 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2989, allocations: 0 / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.2989, allocations: 7.984 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.2989, allocations: 0 / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000432/0.2994, allocations: 107.8 kB / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000824/0.3002, allocations: 380.6 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.3006, allocations: 98.5 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/0.3009, allocations: 76.73 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.3009, allocations: 11.98 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004557/0.3014, allocations: 131.3 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.3014, allocations: 0 / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.001155/0.3025, allocations: 313.3 kB / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.3026, allocations: 55.56 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.3027, allocations: 144.5 kB / 1.219 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.3027, allocations: 33.7 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.97e-05/0.3028, allocations: 108.3 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.3028, allocations: 24.17 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-05/0.3029, allocations: 29.7 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.303, allocations: 326.9 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.3032, allocations: 43.91 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.3033, allocations: 88.98 kB / 1.22 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.3036, allocations: 117 kB / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3036, allocations: 0 / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003763/0.304, allocations: 165.5 kB / 1.22 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.304, allocations: 4 kB / 1.22 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.304, allocations: 4.094 kB / 1.22 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.304, allocations: 3.984 kB / 1.22 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.3042, allocations: 23.92 kB / 1.22 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3042, allocations: 0 / 1.22 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.3043, allocations: 15.94 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.3043, allocations: 4 kB / 1.22 GB, free: 10.11 MB / 0.9669 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.3044, allocations: 133.8 kB / 1.221 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.3044, allocations: 7.953 kB / 1.221 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.168e-05/0.3045, allocations: 12.72 kB / 1.221 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3045, allocations: 0 / 1.221 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3045, allocations: 0 / 1.221 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3045, allocations: 0 / 1.221 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.3056, allocations: 0.5294 MB / 1.221 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.3056, allocations: 3.938 kB / 1.221 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.578e-05/0.3057, allocations: 15.98 kB / 1.221 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3057, allocations: 0 / 1.221 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.3057, allocations: 7.984 kB / 1.221 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.3057, allocations: 7.938 kB / 1.221 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3057, allocations: 0 / 1.221 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009498/0.3066, allocations: 331.3 kB / 1.221 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.3067, allocations: 85.06 kB / 1.222 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.3067, allocations: 0 / 1.222 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.307, allocations: 23.91 kB / 1.222 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.307, allocations: 12.17 kB / 1.222 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.307, allocations: 4 kB / 1.222 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.157e-05/0.3071, allocations: 117.2 kB / 1.222 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3071, allocations: 0 / 1.222 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003616/0.3075, allocations: 51.88 kB / 1.222 GB, free: 8.688 MB / 0.9669 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.0003809/0.3079, allocations: 169 kB / 1.222 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005559/0.3084, allocations: 139.8 kB / 1.222 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3084, allocations: 0 / 1.222 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.3088, allocations: 88.17 kB / 1.222 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.309, allocations: 11.98 kB / 1.222 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000736/0.3098, allocations: 293.9 kB / 1.222 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.3101, allocations: 0.704 MB / 1.223 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.3101, allocations: 15.44 kB / 1.223 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.3101, allocations: 0 / 1.223 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of Templates: time 0.004552/0.3147, allocations: 2.164 MB / 1.225 GB, free: 5.074 MB / 0.9669 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.827677969122306]