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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001383/0.001384, allocations: 112.6 kB / 16.37 MB, free: 6 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.001493/0.001493, allocations: 196 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.461/2.461, allocations: 437.1 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 60.03 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3742, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.00254/0.3768, allocations: 1.235 MB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.3778, allocations: 444.1 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.3778, allocations: 0 / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.3779, allocations: 3.938 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.669e-05/0.3779, allocations: 3.938 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/0.3785, allocations: 115.6 kB / 1.021 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.118e-05/0.3785, allocations: 15.98 kB / 1.021 GB, free: 8.039 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.3786, allocations: 11.98 kB / 1.021 GB, free: 8.027 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.399e-05/0.3786, allocations: 8 kB / 1.021 GB, free: 8.02 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.984e-05/0.3787, allocations: 11.92 kB / 1.021 GB, free: 8.008 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.3787, allocations: 0 / 1.021 GB, free: 8.008 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.379, allocations: 107.8 kB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.379, allocations: 11.88 kB / 1.021 GB, free: 7.891 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.379, allocations: 7.938 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.3792, allocations: 103.8 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3792, allocations: 0 / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3792, allocations: 0 / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3792, allocations: 0 / 1.021 GB, free: 7.781 MB / 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.0005456/0.3798, allocations: 389 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3798, allocations: 8.922 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.3799, allocations: 4.938 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.38, allocations: 168.3 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.38, allocations: 8.375 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.3801, allocations: 384 / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.3802, allocations: 38.25 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3802, allocations: 192 / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3802, allocations: 7.938 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3802, allocations: 0 / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.255e-05/0.3803, allocations: 4 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.3804, allocations: 161.7 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.09e-05/0.3805, allocations: 26.52 kB / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.3806, allocations: 16.94 kB / 1.022 GB, free: 6.805 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.3806, allocations: 4 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.3807, allocations: 59.31 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.3807, allocations: 0 / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002279/0.381, allocations: 69.61 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.381, allocations: 55.34 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.3812, allocations: 105.8 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.3812, allocations: 29.7 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.3813, allocations: 88.12 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.3813, allocations: 19.77 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-05/0.3814, allocations: 21.72 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3815, allocations: 314.8 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.3815, allocations: 7.984 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.578e-05/0.3816, allocations: 31.44 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.147e-05/0.3817, allocations: 51.36 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3817, allocations: 0 / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.802e-05/0.3818, allocations: 73.7 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3818, allocations: 7.938 kB / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3818, allocations: 4 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3818, allocations: 0 / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.952e-05/0.3819, allocations: 12.03 kB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.3819, allocations: 4 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.3819, allocations: 3.984 kB / 1.023 GB, free: 5.766 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.3819, allocations: 7.938 kB / 1.023 GB, free: 5.758 MB / 0.795 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.416e-05/0.382, allocations: 114.1 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.3821, allocations: 3.938 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.3821, allocations: 7.906 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3821, allocations: 0 / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3821, allocations: 4 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3821, allocations: 4 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.3822, allocations: 161.6 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3822, allocations: 0 / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.431e-05/0.3823, allocations: 4 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3823, allocations: 3.938 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3823, allocations: 0 / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3823, allocations: 160 / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3823, allocations: 0 / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.3825, allocations: 89.05 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.3825, allocations: 81.11 kB / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.3825, allocations: 7.938 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.266e-05/0.3826, allocations: 4 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.3826, allocations: 0 / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.3826, allocations: 3.984 kB / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.294e-05/0.3827, allocations: 79.28 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.383e-06/0.3827, allocations: 4 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002454/0.383, allocations: 35.92 kB / 1.023 GB, free: 5.062 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.0003925/0.3834, allocations: 164.8 kB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001486/0.3835, allocations: 31.92 kB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3835, allocations: 0 / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.984e-05/0.3836, allocations: 8 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.3837, allocations: 8 kB / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.384, allocations: 121.1 kB / 1.023 GB, free: 4.711 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.3844, allocations: 0.6768 MB / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.422e-05/0.3844, allocations: 4 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.083e-05/0.3844, allocations: 7.438 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.3844, allocations: 0 / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of Templates: time 0.004079/0.3885, allocations: 1.095 MB / 1.025 GB, free: 2.902 MB / 0.795 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 -s cvode -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