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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_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.005596/0.005596, allocations: 99.62 kB / 15.73 MB, free: 6.488 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.001152/0.001152, allocations: 196.6 kB / 16.68 MB, free: 6.371 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.976/2.976, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 71.83 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3426, allocations: 159.1 MB / 1.221 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.003179/0.3458, allocations: 1.241 MB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3469, allocations: 440.4 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.446e-05/0.3469, allocations: 0 / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.3469, allocations: 3.938 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.18e-05/0.347, allocations: 0 / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007033/0.3477, allocations: 119.6 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.53e-05/0.3477, allocations: 19.86 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.973e-05/0.3478, allocations: 4 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.163e-05/0.3478, allocations: 11.98 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.517e-05/0.3479, allocations: 15.91 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.3479, allocations: 0 / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.3481, allocations: 103.8 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.3481, allocations: 3.984 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.3482, allocations: 11.94 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.3484, allocations: 95.73 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3484, allocations: 4 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3484, allocations: 4 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.3484, allocations: 0 / 1.223 GB, free: 11.8 MB / 0.9825 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.0005809/0.349, allocations: 400.7 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.349, allocations: 8.031 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/0.3491, allocations: 4.938 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.3492, allocations: 160.4 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.3492, allocations: 4.375 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.3493, allocations: 384 / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.3494, allocations: 42.23 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3494, allocations: 7.938 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.3494, allocations: 4 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3494, allocations: 0 / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.548e-05/0.3494, allocations: 4 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.3496, allocations: 161.7 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.715e-05/0.3497, allocations: 30.52 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.686e-05/0.3497, allocations: 12.86 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-06/0.3497, allocations: 0 / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.3499, allocations: 59.42 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.3499, allocations: 0 / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002221/0.3501, allocations: 73.61 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.3502, allocations: 51.41 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.001e-05/0.3503, allocations: 105.8 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.3503, allocations: 29.7 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.3503, allocations: 84.14 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.3503, allocations: 11.91 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.3504, allocations: 21.7 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.3505, allocations: 314.8 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/0.3505, allocations: 8 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.506e-05/0.3506, allocations: 39.41 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.626e-05/0.3506, allocations: 47.56 kB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3506, allocations: 0 / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001031/0.3507, allocations: 77.53 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3507, allocations: 11.88 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3507, allocations: 4.094 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3508, allocations: 7.938 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.518e-05/0.3508, allocations: 4 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3508, allocations: 0 / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.709e-05/0.3509, allocations: 7.938 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.3509, allocations: 4 kB / 1.224 GB, free: 9.777 MB / 0.9825 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 8.445e-05/0.351, allocations: 110.4 kB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.351, allocations: 15.88 kB / 1.224 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.789e-05/0.351, allocations: 3.906 kB / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.351, allocations: 4 kB / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.351, allocations: 256 / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.351, allocations: 0 / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.3512, allocations: 161.7 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3512, allocations: 0 / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.256e-05/0.3512, allocations: 3.938 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.3512, allocations: 3.938 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3512, allocations: 7.984 kB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3512, allocations: 0 / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3512, allocations: 0 / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.3513, allocations: 85.12 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.3514, allocations: 92.98 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.3514, allocations: 0 / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.159e-05/0.3514, allocations: 0 / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.3515, allocations: 0 / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.3515, allocations: 4 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.446e-05/0.3515, allocations: 87.27 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3515, allocations: 0 / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002635/0.3518, allocations: 35.88 kB / 1.225 GB, free: 9.07 MB / 0.9825 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.0003533/0.3521, allocations: 166 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001131/0.3522, allocations: 20 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3522, allocations: 0 / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.775e-05/0.3523, allocations: 16.11 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.3524, allocations: 18.12 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.3527, allocations: 116.8 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.3529, allocations: 0.6768 MB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.524e-05/0.353, allocations: 8.234 kB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.353, allocations: 7.438 kB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of SimCode: time 8.21e-07/0.353, allocations: 0 / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of Templates: time 0.003782/0.3568, allocations: 1.101 MB / 1.227 GB, free: 6.902 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) 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) Reference file matches