Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001078, allocations: 104.5 kB / 16.41 MB, free: 6.449 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.001074/0.001074, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.08 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.409/2.409, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 64.12 kB / 1.019 GB, free: 9.488 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8148/0.8163, allocations: 151.6 MB / 1.167 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.00253/0.8189, allocations: 1.227 MB / 1.168 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00093/0.8198, allocations: 460.9 kB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.999e-05/0.8199, allocations: 0 / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.065e-05/0.8199, allocations: 0 / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.648e-05/0.82, allocations: 3.938 kB / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006688/0.8207, allocations: 115.6 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.824e-05/0.8207, allocations: 15.94 kB / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.07e-05/0.8208, allocations: 7.984 kB / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.982e-05/0.8208, allocations: 7.938 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.846e-05/0.8209, allocations: 19.91 kB / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.8209, allocations: 4 kB / 1.169 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000247/0.8212, allocations: 99.84 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.8212, allocations: 11.98 kB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.8212, allocations: 3.938 kB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.8215, allocations: 99.8 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8215, allocations: 0 / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8215, allocations: 0 / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.8215, allocations: 0 / 1.169 GB, free: 1.84 MB / 0.8887 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.000535/0.822, allocations: 385 kB / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.8221, allocations: 16.92 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.8221, allocations: 0.9375 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.8223, allocations: 168.3 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.8223, allocations: 384 / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.8223, allocations: 8.297 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.8224, allocations: 46.19 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.8225, allocations: 192 / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.8225, allocations: 3.938 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.8225, allocations: 0 / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.344e-05/0.8225, allocations: 4 kB / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.8227, allocations: 165.6 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.8228, allocations: 26.58 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.684e-05/0.8229, allocations: 16.94 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.8229, allocations: 3.938 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.823, allocations: 55.39 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.823, allocations: 4 kB / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002231/0.8233, allocations: 69.61 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.8234, allocations: 59.41 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.267e-05/0.8235, allocations: 101.8 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.8235, allocations: 33.64 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.8236, allocations: 80.14 kB / 1.17 GB, free: 420 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.8236, allocations: 13.64 kB / 1.17 GB, free: 408 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.8237, allocations: 29.69 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.8238, allocations: 314.8 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.182e-05/0.8238, allocations: 8 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.755e-05/0.8239, allocations: 35.42 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.965e-05/0.8239, allocations: 43.38 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.8239, allocations: 0 / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001057/0.8241, allocations: 69.86 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.8241, allocations: 11.94 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.8241, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.8241, allocations: 4 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.698e-05/0.8242, allocations: 8 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.8242, allocations: 3.938 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.153e-05/0.8242, allocations: 8 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.8243, allocations: 4.094 kB / 1.171 GB, free: 15.82 MB / 0.9044 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 0.0001128/0.8244, allocations: 113.8 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.8244, allocations: 7.844 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.8244, allocations: 11.91 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.8244, allocations: 3.938 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.8244, allocations: 0 / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.8245, allocations: 0 / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.8246, allocations: 157.6 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.8246, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.549e-05/0.8247, allocations: 8 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.8247, allocations: 7.922 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.8247, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.8247, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8247, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.8248, allocations: 89.05 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.8249, allocations: 81.02 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.8249, allocations: 3.938 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.239e-05/0.8249, allocations: 7.938 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.825, allocations: 4 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.825, allocations: 0 / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.677e-05/0.825, allocations: 91.27 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.825, allocations: 0 / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002691/0.8253, allocations: 36 kB / 1.172 GB, free: 15.11 MB / 0.9044 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.0003788/0.8257, allocations: 163.1 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.8258, allocations: 27.92 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8258, allocations: 0 / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.156e-05/0.8259, allocations: 12 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.826, allocations: 7.938 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.8264, allocations: 142.6 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.8266, allocations: 0.6845 MB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.061e-05/0.8267, allocations: 11.62 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.8267, allocations: 3.938 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of Templates: time 0.00304/0.8297, allocations: 1.246 MB / 1.174 GB, free: 12.77 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches