Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 193.2 kB / 16.53 MB, free: 6.699 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.516/1.516, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.957/2.957, allocations: 482.6 MB / 0.7549 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 71 kB / 0.9241 GB, free: 29.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3478, allocations: 162.3 MB / 1.083 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002528/0.3503, allocations: 1.225 MB / 1.084 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3514, allocations: 454.5 kB / 1.084 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.134e-05/0.3514, allocations: 0 / 1.084 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.3515, allocations: 7.938 kB / 1.084 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.927e-05/0.3515, allocations: 0 / 1.084 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005884/0.3521, allocations: 107.6 kB / 1.084 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.079e-05/0.3522, allocations: 23.91 kB / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.97e-05/0.3523, allocations: 0 / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.082e-05/0.3523, allocations: 15.98 kB / 1.084 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.779e-05/0.3523, allocations: 7.875 kB / 1.084 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.3524, allocations: 4 kB / 1.084 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002325/0.3526, allocations: 103.9 kB / 1.084 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.3526, allocations: 7.984 kB / 1.084 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.3527, allocations: 11.94 kB / 1.084 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.3529, allocations: 95.8 kB / 1.085 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3529, allocations: 3.938 kB / 1.085 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3529, allocations: 0 / 1.085 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.3529, allocations: 0 / 1.085 GB, free: 10.91 MB / 0.8419 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.0005872/0.3535, allocations: 389.3 kB / 1.085 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3536, allocations: 8.031 kB / 1.085 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.3536, allocations: 0.9375 kB / 1.085 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.3538, allocations: 176.3 kB / 1.085 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.3538, allocations: 384 / 1.085 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.3538, allocations: 4.375 kB / 1.085 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.3539, allocations: 38.23 kB / 1.085 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.354, allocations: 192 / 1.085 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.354, allocations: 3.938 kB / 1.085 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.354, allocations: 7.938 kB / 1.085 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.716e-05/0.354, allocations: 4 kB / 1.085 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.3542, allocations: 161.6 kB / 1.085 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.439e-05/0.3543, allocations: 34.61 kB / 1.085 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.235e-05/0.3544, allocations: 8.859 kB / 1.085 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.3544, allocations: 0 / 1.085 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.3546, allocations: 59.47 kB / 1.085 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.3546, allocations: 0 / 1.085 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002427/0.3548, allocations: 77.73 kB / 1.085 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.3549, allocations: 55.41 kB / 1.086 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.355, allocations: 113.8 kB / 1.086 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.355, allocations: 29.7 kB / 1.086 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.3551, allocations: 80.14 kB / 1.086 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.3551, allocations: 11.84 kB / 1.086 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.3551, allocations: 21.72 kB / 1.086 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3553, allocations: 314.8 kB / 1.086 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.774e-05/0.3553, allocations: 8 kB / 1.086 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.015e-05/0.3554, allocations: 35.42 kB / 1.086 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.123e-05/0.3555, allocations: 51.36 kB / 1.086 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3555, allocations: 0 / 1.086 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001044/0.3556, allocations: 73.56 kB / 1.086 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.3556, allocations: 13.95 kB / 1.086 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3556, allocations: 0 / 1.086 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3557, allocations: 7.938 kB / 1.086 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.806e-05/0.3557, allocations: 4 kB / 1.086 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3557, allocations: 4 kB / 1.086 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.6e-05/0.3558, allocations: 3.906 kB / 1.086 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.3558, allocations: 4 kB / 1.086 GB, free: 8.891 MB / 0.8419 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.926e-05/0.3559, allocations: 109.9 kB / 1.086 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.3559, allocations: 11.94 kB / 1.086 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.3559, allocations: 7.891 kB / 1.086 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.356, allocations: 0 / 1.086 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.356, allocations: 0 / 1.086 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.356, allocations: 3.938 kB / 1.086 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.3561, allocations: 157.7 kB / 1.087 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3561, allocations: 0 / 1.087 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.046e-05/0.3562, allocations: 0 / 1.087 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3562, allocations: 3.938 kB / 1.087 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3562, allocations: 4 kB / 1.087 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.3562, allocations: 7.984 kB / 1.087 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3562, allocations: 0 / 1.087 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.3563, allocations: 81.12 kB / 1.087 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.896e-05/0.3564, allocations: 88.95 kB / 1.087 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.3564, allocations: 7.922 kB / 1.087 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.031e-05/0.3565, allocations: 0 / 1.087 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.3565, allocations: 0 / 1.087 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.3565, allocations: 4 kB / 1.087 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.034e-05/0.3566, allocations: 95.52 kB / 1.087 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.3566, allocations: 0 / 1.087 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002695/0.3568, allocations: 32 kB / 1.087 GB, free: 8.188 MB / 0.8419 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.0003707/0.3572, allocations: 165.5 kB / 1.087 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.3574, allocations: 36.05 kB / 1.087 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3574, allocations: 0 / 1.087 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.17e-05/0.3574, allocations: 15.98 kB / 1.087 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.3576, allocations: 3.281 kB / 1.087 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/0.3578, allocations: 105.1 kB / 1.087 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.3582, allocations: 0.6807 MB / 1.088 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.022e-05/0.3582, allocations: 4.062 kB / 1.088 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.3582, allocations: 15.42 kB / 1.088 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3582, allocations: 0 / 1.088 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of Templates: time 0.003829/0.3621, allocations: 1.093 MB / 1.089 GB, free: 6.031 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:L,dt,k,seed,t0,time,u,y