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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001495/0.001495, allocations: 107.4 kB / 15.99 MB, free: 6.348 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.00146/0.00146, allocations: 200 kB / 16.91 MB, free: 6.188 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.486/2.486, allocations: 437.1 MB / 0.7107 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 64.06 kB / 0.8694 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3076, allocations: 151.6 MB / 1.017 GB, free: 10.95 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002689/0.3104, allocations: 1.278 MB / 1.019 GB, free: 9.66 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009903/0.3114, allocations: 456.1 kB / 1.019 GB, free: 9.215 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.616e-05/0.3114, allocations: 0 / 1.019 GB, free: 9.215 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.3115, allocations: 3.938 kB / 1.019 GB, free: 9.211 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.628e-05/0.3115, allocations: 0 / 1.019 GB, free: 9.211 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005601/0.3121, allocations: 95.78 kB / 1.019 GB, free: 9.117 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.27e-05/0.3122, allocations: 23.86 kB / 1.019 GB, free: 9.094 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.3122, allocations: 7.984 kB / 1.019 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.308e-05/0.3123, allocations: 4 kB / 1.019 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.854e-05/0.3123, allocations: 15.92 kB / 1.019 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.3123, allocations: 0 / 1.019 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002162/0.3125, allocations: 99.91 kB / 1.019 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.3126, allocations: 11.98 kB / 1.019 GB, free: 8.957 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.3126, allocations: 7.875 kB / 1.019 GB, free: 8.949 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.3128, allocations: 75.88 kB / 1.019 GB, free: 8.875 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3128, allocations: 3.938 kB / 1.019 GB, free: 8.871 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3128, allocations: 0 / 1.019 GB, free: 8.871 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.3128, allocations: 0 / 1.019 GB, free: 8.871 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.0005773/0.3134, allocations: 391.5 kB / 1.02 GB, free: 8.434 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3135, allocations: 8.922 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.3135, allocations: 4.938 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.3136, allocations: 168.4 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.3137, allocations: 384 / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.3137, allocations: 8.375 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.3138, allocations: 34.25 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3139, allocations: 192 / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.3139, allocations: 7.922 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-06/0.3139, allocations: 0 / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.41e-05/0.3139, allocations: 7.938 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002405/0.3142, allocations: 161.7 kB / 1.02 GB, free: 7.949 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.3143, allocations: 34.61 kB / 1.02 GB, free: 7.906 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.094e-05/0.3144, allocations: 12.86 kB / 1.02 GB, free: 7.891 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.3144, allocations: 0 / 1.02 GB, free: 7.891 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.3146, allocations: 63.33 kB / 1.02 GB, free: 7.816 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.3146, allocations: 4 kB / 1.02 GB, free: 7.812 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002785/0.3149, allocations: 73.55 kB / 1.02 GB, free: 7.734 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.3149, allocations: 55.41 kB / 1.02 GB, free: 7.668 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.3151, allocations: 105.8 kB / 1.021 GB, free: 7.555 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.3151, allocations: 25.7 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.689e-05/0.3152, allocations: 84.14 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.3152, allocations: 11.84 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.3153, allocations: 17.72 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3154, allocations: 330.8 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.3155, allocations: 4 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-05/0.3155, allocations: 39.41 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.868e-05/0.3156, allocations: 47.38 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3156, allocations: 4 kB / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001157/0.3157, allocations: 69.47 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3157, allocations: 11.94 kB / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3158, allocations: 0 / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3158, allocations: 0 / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.3159, allocations: 11.98 kB / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.3159, allocations: 0 / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.652e-05/0.3159, allocations: 4 kB / 1.021 GB, free: 6.852 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3159, allocations: 0 / 1.021 GB, free: 6.852 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 0.0001111/0.316, allocations: 118.2 kB / 1.021 GB, free: 6.727 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.3161, allocations: 8.172 kB / 1.021 GB, free: 6.719 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.3161, allocations: 7.891 kB / 1.021 GB, free: 6.707 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.3161, allocations: 11.92 kB / 1.021 GB, free: 6.695 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3161, allocations: 0 / 1.021 GB, free: 6.695 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3161, allocations: 0 / 1.021 GB, free: 6.695 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.3163, allocations: 157.6 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3163, allocations: 4 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.057e-05/0.3163, allocations: 0 / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.3164, allocations: 7.938 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.3164, allocations: 0 / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/0.3164, allocations: 4 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3164, allocations: 0 / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.3165, allocations: 81.11 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.3166, allocations: 81.11 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.3167, allocations: 7.922 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.344e-05/0.3167, allocations: 4 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.3167, allocations: 4 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.3167, allocations: 4 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.317e-05/0.3168, allocations: 79.28 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3168, allocations: 7.875 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002729/0.3171, allocations: 39.98 kB / 1.022 GB, free: 6.137 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.000413/0.3175, allocations: 159.8 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.3176, allocations: 35.92 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3176, allocations: 0 / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.122e-05/0.3177, allocations: 11.98 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.3178, allocations: 4 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/0.3182, allocations: 146.9 kB / 1.022 GB, free: 5.758 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.3186, allocations: 0.6848 MB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.3186, allocations: 7.438 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3186, allocations: 0 / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of Templates: time 0.003405/0.322, allocations: 1.249 MB / 1.024 GB, free: 3.789 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=400 -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