Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.001303/0.001303, allocations: 114.7 kB / 16.37 MB, free: 5.984 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.001248/0.001248, allocations: 192.6 kB / 17.31 MB, free: 5.602 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.16 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.367/2.367, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 68.47 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2804, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002209/0.2827, allocations: 1.225 MB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008451/0.2835, allocations: 452 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.438e-05/0.2836, allocations: 3.938 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.2836, allocations: 3.938 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.316e-05/0.2836, allocations: 3.984 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.2841, allocations: 111.6 kB / 1.021 GB, free: 8.047 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.713e-05/0.2842, allocations: 15.98 kB / 1.021 GB, free: 8.031 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.908e-05/0.2842, allocations: 8 kB / 1.021 GB, free: 8.023 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.182e-05/0.2843, allocations: 11.97 kB / 1.021 GB, free: 8.012 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.758e-05/0.2843, allocations: 11.94 kB / 1.021 GB, free: 8 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.2843, allocations: 0 / 1.021 GB, free: 8 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.2845, allocations: 103.8 kB / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.2846, allocations: 11.94 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.2846, allocations: 7.922 kB / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.2848, allocations: 103.8 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2848, allocations: 0 / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2848, allocations: 0 / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.2848, allocations: 3.984 kB / 1.021 GB, free: 7.773 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.0004497/0.2853, allocations: 389 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2853, allocations: 12.62 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.2853, allocations: 4.875 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.2855, allocations: 160.4 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.2855, allocations: 4.375 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.2855, allocations: 4.359 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.723e-05/0.2856, allocations: 42.25 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.2856, allocations: 192 / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.2856, allocations: 7.938 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.2856, allocations: 3.984 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.953e-05/0.2857, allocations: 4 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.2858, allocations: 153.7 kB / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.616e-05/0.2859, allocations: 34.55 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.2859, allocations: 16.8 kB / 1.022 GB, free: 6.793 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-06/0.286, allocations: 4 kB / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.2861, allocations: 63.39 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.2861, allocations: 0 / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0001932/0.2863, allocations: 69.56 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.2863, allocations: 55.39 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.832e-05/0.2864, allocations: 102 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.2864, allocations: 29.7 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.2865, allocations: 88.06 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.2865, allocations: 19.83 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.2865, allocations: 21.72 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2867, allocations: 318.8 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.926e-05/0.2867, allocations: 4 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.785e-05/0.2867, allocations: 39.48 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.05e-05/0.2868, allocations: 47.38 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2868, allocations: 0 / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.78e-05/0.2869, allocations: 65.53 kB / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2869, allocations: 7.938 kB / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2869, allocations: 4 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.287, allocations: 3.938 kB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.04e-05/0.287, allocations: 16.08 kB / 1.022 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.287, allocations: 4 kB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.366e-05/0.2871, allocations: 4 kB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.2871, allocations: 0 / 1.023 GB, free: 5.75 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 6.705e-05/0.2872, allocations: 113.8 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.2872, allocations: 3.938 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.2872, allocations: 8.141 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2872, allocations: 0 / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.2872, allocations: 7.969 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2872, allocations: 4 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.2873, allocations: 157.6 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2873, allocations: 0 / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.436e-05/0.2874, allocations: 7.938 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2874, allocations: 3.938 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-06/0.2874, allocations: 0 / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2874, allocations: 0 / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2874, allocations: 0 / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.2875, allocations: 85.11 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.2876, allocations: 81.11 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.2876, allocations: 3.938 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.272e-05/0.2876, allocations: 7.984 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.2876, allocations: 0 / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.2876, allocations: 3.938 kB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.197e-05/0.2877, allocations: 87.28 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2877, allocations: 7.938 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002382/0.2879, allocations: 31.98 kB / 1.023 GB, free: 5.047 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.0002867/0.2882, allocations: 155.9 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.2884, allocations: 27.92 kB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2884, allocations: 0 / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.542e-05/0.2884, allocations: 19.92 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.2886, allocations: 4 kB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/0.2888, allocations: 117.2 kB / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.289, allocations: 0.6768 MB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.911e-05/0.289, allocations: 4 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.302e-05/0.2891, allocations: 7.438 kB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.2891, allocations: 0 / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of Templates: time 0.003279/0.2923, allocations: 1.103 MB / 1.025 GB, free: 2.891 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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