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.001227/0.001227, allocations: 117.9 kB / 16.37 MB, free: 6.012 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.00126/0.00126, allocations: 190.4 kB / 17.31 MB, free: 5.613 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.458/1.458, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.522/2.522, allocations: 442.6 MB / 0.7165 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.98 kB / 0.8773 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3492, allocations: 153 MB / 1.027 GB, free: 2.152 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002325/0.3516, allocations: 1.228 MB / 1.028 GB, free: 0.918 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008692/0.3525, allocations: 456.8 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.269e-05/0.3525, allocations: 0 / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.589e-05/0.3525, allocations: 3.938 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.222e-05/0.3526, allocations: 4 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.3531, allocations: 115.5 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.977e-05/0.3532, allocations: 19.92 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.3532, allocations: 7.984 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.025e-05/0.3532, allocations: 7.938 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.998e-05/0.3533, allocations: 15.97 kB / 1.029 GB, free: 308 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.3533, allocations: 0 / 1.029 GB, free: 308 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.3535, allocations: 95.91 kB / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/0.3535, allocations: 15.92 kB / 1.029 GB, free: 196 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.3535, allocations: 3.938 kB / 1.029 GB, free: 192 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.3537, allocations: 115.7 kB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3537, allocations: 0 / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3537, allocations: 0 / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3538, allocations: 0 / 1.029 GB, free: 76 kB / 0.795 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.0004785/0.3542, allocations: 381.1 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3543, allocations: 12.03 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.3543, allocations: 0.9375 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.3544, allocations: 164.4 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.3545, allocations: 384 / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.3545, allocations: 8.359 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.3546, allocations: 42.25 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.3546, allocations: 192 / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3546, allocations: 3.938 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3546, allocations: 0 / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.324e-05/0.3547, allocations: 7.938 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.3548, allocations: 165.6 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.775e-05/0.3549, allocations: 26.58 kB / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.355, allocations: 24.94 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.355, allocations: 0 / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.3551, allocations: 51.41 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 4.028e-06/0.3551, allocations: 0 / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002015/0.3553, allocations: 77.48 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.3554, allocations: 55.41 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.387e-05/0.3555, allocations: 105.8 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.3555, allocations: 29.7 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.3555, allocations: 84.14 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.3556, allocations: 7.844 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.3556, allocations: 25.7 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3557, allocations: 314.8 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.3557, allocations: 4 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.91e-05/0.3558, allocations: 43.41 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.26e-05/0.3558, allocations: 43.56 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3559, allocations: 0 / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001266/0.356, allocations: 85.38 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.356, allocations: 16.03 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.356, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.356, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.344e-05/0.3561, allocations: 8 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.3561, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.419e-05/0.3562, allocations: 4 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.3562, allocations: 0 / 1.03 GB, free: 14.06 MB / 0.8106 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.751e-05/0.3563, allocations: 125.7 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.3563, allocations: 7.844 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.3563, allocations: 11.91 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.3563, allocations: 0 / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3563, allocations: 0 / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3563, allocations: 0 / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.3565, allocations: 153.7 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3565, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.245e-05/0.3565, allocations: 4 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/0.3565, allocations: 7.922 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3565, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3565, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3565, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.3567, allocations: 89.36 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.3567, allocations: 77.11 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.3567, allocations: 11.88 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.3567, allocations: 4 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.3568, allocations: 3.938 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.3568, allocations: 4 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.9e-05/0.3568, allocations: 87.27 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3568, allocations: 4 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002494/0.3571, allocations: 32 kB / 1.031 GB, free: 13.35 MB / 0.8106 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.000329/0.3574, allocations: 161.3 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.3576, allocations: 27.92 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3576, allocations: 192 / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/0.3576, allocations: 16 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.3577, allocations: 4 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.358, allocations: 120.8 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.3582, allocations: 0.6729 MB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.126e-05/0.3583, allocations: 7.984 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.585e-05/0.3583, allocations: 7.438 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3583, allocations: 0 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of Templates: time 0.00345/0.3618, allocations: 1.097 MB / 1.033 GB, free: 11.19 MB / 0.8106 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches