Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.001068/0.001068, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008476/0.008476, allocations: 169 kB / 16.26 MB, free: 6.652 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.526/1.526, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.747/2.747, allocations: 443.3 MB / 0.7175 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003809, allocations: 8.438 kB / 0.8795 GB, free: 41.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3656, allocations: 155.2 MB / 1.031 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001352/0.367, allocations: 0.9515 MB / 1.032 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008867/0.3679, allocations: 447.1 kB / 1.032 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.368, allocations: 0 / 1.032 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.368, allocations: 0 / 1.032 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.083e-05/0.368, allocations: 4 kB / 1.032 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.3685, allocations: 87.73 kB / 1.033 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.838e-05/0.3686, allocations: 19.97 kB / 1.033 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.3686, allocations: 4 kB / 1.033 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.573e-05/0.3687, allocations: 19.92 kB / 1.033 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.889e-05/0.3687, allocations: 3.938 kB / 1.033 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.3687, allocations: 7.938 kB / 1.033 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.3689, allocations: 107.8 kB / 1.033 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.369, allocations: 3.984 kB / 1.033 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/0.369, allocations: 37.64 kB / 1.033 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.3692, allocations: 99.8 kB / 1.033 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3692, allocations: 0 / 1.033 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3692, allocations: 0 / 1.033 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.3692, allocations: 0 / 1.033 GB, free: 2.52 MB / 0.7794 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.0004653/0.3697, allocations: 382.6 kB / 1.033 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3697, allocations: 11.97 kB / 1.033 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.3698, allocations: 4.844 kB / 1.033 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.3699, allocations: 172.3 kB / 1.033 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.37, allocations: 384 / 1.033 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.37, allocations: 4.375 kB / 1.033 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.3701, allocations: 42.23 kB / 1.033 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.3701, allocations: 192 / 1.033 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3701, allocations: 3.938 kB / 1.033 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3701, allocations: 4 kB / 1.033 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.274e-05/0.3702, allocations: 7.984 kB / 1.033 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.3703, allocations: 153.7 kB / 1.034 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.109e-05/0.3704, allocations: 34.61 kB / 1.034 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.3705, allocations: 12.84 kB / 1.034 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.3705, allocations: 0 / 1.034 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.3706, allocations: 55.41 kB / 1.034 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3707, allocations: 0 / 1.034 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000211/0.3709, allocations: 77.45 kB / 1.034 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.3709, allocations: 59.41 kB / 1.034 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.905e-05/0.371, allocations: 109.8 kB / 1.034 GB, free: 1.207 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.371, allocations: 25.7 kB / 1.034 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.3711, allocations: 80.14 kB / 1.034 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.3711, allocations: 19.83 kB / 1.034 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/0.3711, allocations: 13.72 kB / 1.034 GB, free: 1.055 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.3712, allocations: 318.8 kB / 1.034 GB, free: 0.7344 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/0.3713, allocations: 7.984 kB / 1.034 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/0.3713, allocations: 35.42 kB / 1.034 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.211e-05/0.3714, allocations: 51.36 kB / 1.034 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3714, allocations: 0 / 1.034 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001007/0.3715, allocations: 65.62 kB / 1.034 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3715, allocations: 7.938 kB / 1.034 GB, free: 0.5391 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3715, allocations: 0 / 1.034 GB, free: 0.5391 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3715, allocations: 4 kB / 1.035 GB, free: 0.5352 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.759e-05/0.3716, allocations: 7.938 kB / 1.035 GB, free: 0.5273 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.3716, allocations: 7.938 kB / 1.035 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.948e-05/0.3717, allocations: 8 kB / 1.035 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.3717, allocations: 11.92 kB / 1.035 GB, free: 0.5 MB / 0.7794 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 9.339e-05/0.3718, allocations: 115.3 kB / 1.035 GB, free: 388 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.3718, allocations: 7.938 kB / 1.035 GB, free: 380 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.369e-05/0.3718, allocations: 3.906 kB / 1.035 GB, free: 372 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.3718, allocations: 0 / 1.035 GB, free: 372 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3718, allocations: 0 / 1.035 GB, free: 372 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3719, allocations: 240 / 1.035 GB, free: 372 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.372, allocations: 157.7 kB / 1.035 GB, free: 164 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.372, allocations: 7.984 kB / 1.035 GB, free: 156 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.179e-05/0.372, allocations: 256 / 1.035 GB, free: 156 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.372, allocations: 7.922 kB / 1.035 GB, free: 148 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.372, allocations: 8 kB / 1.035 GB, free: 140 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.372, allocations: 0 / 1.035 GB, free: 140 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.372, allocations: 3.938 kB / 1.035 GB, free: 136 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.3722, allocations: 85.02 kB / 1.035 GB, free: 32 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/0.3722, allocations: 81.11 kB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.3723, allocations: 7.938 kB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.061e-05/0.3723, allocations: 4 kB / 1.035 GB, free: 15.92 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.3723, allocations: 0 / 1.035 GB, free: 15.92 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.3723, allocations: 7.984 kB / 1.035 GB, free: 15.91 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.336e-05/0.3724, allocations: 79.28 kB / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3724, allocations: 0 / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002503/0.3726, allocations: 35.98 kB / 1.035 GB, free: 15.8 MB / 0.795 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.0003564/0.373, allocations: 163.4 kB / 1.035 GB, free: 15.64 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.3731, allocations: 35.92 kB / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3731, allocations: 0 / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.967e-05/0.3732, allocations: 8 kB / 1.035 GB, free: 15.6 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.3733, allocations: 13.42 kB / 1.035 GB, free: 15.59 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002524/0.3736, allocations: 122.8 kB / 1.035 GB, free: 15.44 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.3738, allocations: 0.6808 MB / 1.036 GB, free: 14.73 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.132e-05/0.3739, allocations: 4 kB / 1.036 GB, free: 14.73 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.343e-05/0.3739, allocations: 7.438 kB / 1.036 GB, free: 14.72 MB / 0.795 GB Notification: Performance of SimCode: time 5.01e-07/0.3739, allocations: 0 / 1.036 GB, free: 14.72 MB / 0.795 GB Notification: Performance of Templates: time 0.003652/0.3776, allocations: 1.066 MB / 1.037 GB, free: 13.65 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches