Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008115/0.0008115, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000816/0.000816, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8709/0.8709, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.623/1.623, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.9517 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.667e-05, allocations: 5.094 kB / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001574/0.001601, allocations: 1.255 MB / 0.9529 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006707/0.002272, allocations: 443 kB / 0.9533 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.731e-05/0.002299, allocations: 0 / 0.9533 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.002318, allocations: 3.938 kB / 0.9533 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.086e-05/0.002349, allocations: 0 / 0.9533 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005181/0.002867, allocations: 127.4 kB / 0.9535 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.737e-05/0.002934, allocations: 23.92 kB / 0.9535 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.00297, allocations: 0 / 0.9535 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.884e-05/0.003009, allocations: 15.98 kB / 0.9535 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.725e-05/0.003036, allocations: 4 kB / 0.9535 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.003051, allocations: 0 / 0.9535 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002258/0.003277, allocations: 143.7 kB / 0.9536 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.003293, allocations: 11.92 kB / 0.9536 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.003317, allocations: 7.984 kB / 0.9537 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.003491, allocations: 111.7 kB / 0.9538 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.003493, allocations: 0 / 0.9538 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.573e-06/0.003495, allocations: 4 kB / 0.9538 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.003498, allocations: 4 kB / 0.9538 GB, free: 0.8711 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003997/0.003898, allocations: 319.6 kB / 0.9541 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.003932, allocations: 12.03 kB / 0.9541 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.003965, allocations: 4.938 kB / 0.9541 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.245e-05/0.004038, allocations: 109.7 kB / 0.9542 GB, free: 380 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.004058, allocations: 4.359 kB / 0.9542 GB, free: 376 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.004068, allocations: 4.375 kB / 0.9542 GB, free: 372 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.646e-05/0.004155, allocations: 38.25 kB / 0.9542 GB, free: 328 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.004162, allocations: 192 / 0.9542 GB, free: 328 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.004172, allocations: 4.375 kB / 0.9542 GB, free: 324 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.004176, allocations: 4.375 kB / 0.9542 GB, free: 320 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.265e-05/0.004199, allocations: 7.938 kB / 0.9543 GB, free: 312 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/0.00431, allocations: 109.3 kB / 0.9544 GB, free: 172 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.666e-05/0.004376, allocations: 34.55 kB / 0.9544 GB, free: 128 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.571e-05/0.004402, allocations: 16.86 kB / 0.9544 GB, free: 108 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/0.004411, allocations: 0 / 0.9544 GB, free: 108 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.004549, allocations: 55.48 kB / 0.9545 GB, free: 40 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.004549, allocations: 0 / 0.9545 GB, free: 40 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0001977/0.004747, allocations: 73.62 kB / 0.9545 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.004785, allocations: 55.39 kB / 0.9546 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.657e-05/0.004851, allocations: 105.8 kB / 0.9547 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.004862, allocations: 25.7 kB / 0.9547 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.004896, allocations: 88.12 kB / 0.9548 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.004914, allocations: 11.94 kB / 0.9548 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.004943, allocations: 17.72 kB / 0.9548 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003403/0.005284, allocations: 322.8 kB / 0.9551 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.005299, allocations: 4 kB / 0.9551 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.599e-05/0.005325, allocations: 31.44 kB / 0.9552 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.687e-05/0.005372, allocations: 55.3 kB / 0.9552 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005374, allocations: 0 / 0.9552 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.028e-05/0.005445, allocations: 69.58 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.005458, allocations: 11.94 kB / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.005463, allocations: 240 / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.005476, allocations: 0 / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.317e-05/0.005539, allocations: 11.98 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.485e-06/0.005546, allocations: 3.938 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.911e-05/0.005565, allocations: 8.094 kB / 0.9553 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.005573, allocations: 3.984 kB / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.914e-05/0.005632, allocations: 117.8 kB / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.00564, allocations: 3.953 kB / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.005667, allocations: 8 kB / 0.9554 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.005668, allocations: 0 / 0.9554 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.005673, allocations: 0 / 0.9554 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.005677, allocations: 11.86 kB / 0.9555 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.207e-05/0.005749, allocations: 101.3 kB / 0.9555 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.005751, allocations: 0 / 0.9555 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-06/0.005758, allocations: 11.94 kB / 0.9556 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.00576, allocations: 0 / 0.9556 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.005767, allocations: 4.234 kB / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.005769, allocations: 4 kB / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.005771, allocations: 4 kB / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.741e-05/0.005858, allocations: 81.06 kB / 0.9556 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.005867, allocations: 11.94 kB / 0.9557 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.005877, allocations: 0 / 0.9557 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.325e-05/0.00589, allocations: 0 / 0.9557 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.00591, allocations: 8 kB / 0.9557 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.005915, allocations: 0 / 0.9557 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.83e-05/0.005943, allocations: 91.2 kB / 0.9558 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005943, allocations: 0 / 0.9558 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001887/0.006132, allocations: 31.94 kB / 0.9558 GB, free: 14.53 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002863/0.006418, allocations: 183.7 kB / 0.956 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.006522, allocations: 28.03 kB / 0.956 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.006524, allocations: 4.188 kB / 0.956 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.603e-05/0.00655, allocations: 16.02 kB / 0.956 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001057/0.006656, allocations: 10.59 kB / 0.956 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002253/0.006881, allocations: 145.6 kB / 0.9562 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.147e-05/0.006922, allocations: 63.34 kB / 0.9562 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.593e-05/0.006938, allocations: 8.5 kB / 0.9562 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of SimCode: time 5.51e-07/0.006939, allocations: 0 / 0.9562 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of Templates: time 0.002213/0.009152, allocations: 1.308 MB / 0.9575 GB, free: 12.73 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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: 6.843510250560939]