Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008501/0.008501, allocations: 172.7 kB / 16.26 MB, free: 6.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.538/1.538, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.718/2.718, allocations: 443.3 MB / 0.7175 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004733, allocations: 8.844 kB / 0.8795 GB, free: 41.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3477, allocations: 155.2 MB / 1.031 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.00167/0.3495, allocations: 0.9399 MB / 1.032 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009237/0.3504, allocations: 403.3 kB / 1.032 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/0.3504, allocations: 7.938 kB / 1.032 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.3505, allocations: 0 / 1.032 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.802e-05/0.3505, allocations: 0 / 1.032 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.351, allocations: 79.8 kB / 1.032 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.54e-05/0.3511, allocations: 19.92 kB / 1.032 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.344e-05/0.3511, allocations: 4 kB / 1.032 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.172e-05/0.3511, allocations: 3.938 kB / 1.032 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.247e-05/0.3512, allocations: 15.97 kB / 1.033 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.3512, allocations: 0 / 1.033 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.3514, allocations: 91.84 kB / 1.033 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.3514, allocations: 8 kB / 1.033 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.286e-05/0.3515, allocations: 37.62 kB / 1.033 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.3517, allocations: 83.81 kB / 1.033 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.3517, allocations: 0 / 1.033 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3517, allocations: 0 / 1.033 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3517, allocations: 0 / 1.033 GB, free: 2.527 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.0004575/0.3522, allocations: 339.8 kB / 1.033 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3522, allocations: 12.03 kB / 1.033 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.3523, allocations: 0.9375 kB / 1.033 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.3524, allocations: 172.3 kB / 1.033 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.3524, allocations: 8.375 kB / 1.033 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.3524, allocations: 384 / 1.033 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.3525, allocations: 42.19 kB / 1.033 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.3525, allocations: 192 / 1.033 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.3526, allocations: 7.938 kB / 1.033 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.3526, allocations: 0 / 1.033 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.67e-05/0.3526, allocations: 4 kB / 1.033 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.3528, allocations: 153.7 kB / 1.033 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.134e-05/0.3529, allocations: 34.52 kB / 1.033 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.3529, allocations: 16.94 kB / 1.033 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.3529, allocations: 0 / 1.033 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.3531, allocations: 59.25 kB / 1.034 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 3.196e-06/0.3531, allocations: 3.984 kB / 1.034 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002057/0.3533, allocations: 69.61 kB / 1.034 GB, free: 1.449 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.3533, allocations: 55.41 kB / 1.034 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.594e-05/0.3534, allocations: 101.8 kB / 1.034 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.3534, allocations: 29.7 kB / 1.034 GB, free: 1.238 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.3535, allocations: 84.14 kB / 1.034 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.3535, allocations: 3.906 kB / 1.034 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.3535, allocations: 17.72 kB / 1.034 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.995e-05/0.3536, allocations: 314.8 kB / 1.034 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.347e-05/0.3537, allocations: 11.98 kB / 1.034 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.348e-05/0.3537, allocations: 31.44 kB / 1.034 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.602e-05/0.3538, allocations: 47.36 kB / 1.034 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.3538, allocations: 4 kB / 1.034 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.864e-05/0.3539, allocations: 69.53 kB / 1.034 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3539, allocations: 15.88 kB / 1.034 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3539, allocations: 0 / 1.034 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.3539, allocations: 0 / 1.034 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.593e-05/0.354, allocations: 11.98 kB / 1.034 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.354, allocations: 3.938 kB / 1.034 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.848e-05/0.3541, allocations: 4 kB / 1.034 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3541, allocations: 0 / 1.034 GB, free: 0.582 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 8.409e-05/0.3542, allocations: 123.2 kB / 1.034 GB, free: 464 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.3542, allocations: 8.031 kB / 1.035 GB, free: 456 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.3542, allocations: 3.5 kB / 1.035 GB, free: 444 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3542, allocations: 4 kB / 1.035 GB, free: 440 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3542, allocations: 0 / 1.035 GB, free: 440 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3542, allocations: 0 / 1.035 GB, free: 440 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.3544, allocations: 153.7 kB / 1.035 GB, free: 236 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3544, allocations: 0 / 1.035 GB, free: 236 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.479e-05/0.3544, allocations: 3.984 kB / 1.035 GB, free: 232 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.3544, allocations: 7.938 kB / 1.035 GB, free: 224 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.3544, allocations: 3.938 kB / 1.035 GB, free: 220 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3544, allocations: 4 kB / 1.035 GB, free: 216 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3544, allocations: 0 / 1.035 GB, free: 216 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.3545, allocations: 89.05 kB / 1.035 GB, free: 108 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.3546, allocations: 85.02 kB / 1.035 GB, free: 4 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.3546, allocations: 3.938 kB / 1.035 GB, free: 0 / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.937e-05/0.3546, allocations: 0 / 1.035 GB, free: 0 / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.3547, allocations: 4.047 kB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.3547, allocations: 4.469 kB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.21e-05/0.3547, allocations: 83.22 kB / 1.035 GB, free: 15.91 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3547, allocations: 4 kB / 1.035 GB, free: 15.91 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002302/0.355, allocations: 28 kB / 1.035 GB, free: 15.88 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.0003208/0.3553, allocations: 151.4 kB / 1.035 GB, free: 15.73 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.571e-05/0.3554, allocations: 36.05 kB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3554, allocations: 4.062 kB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.05e-05/0.3555, allocations: 11.98 kB / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.3556, allocations: 4 kB / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002266/0.3558, allocations: 104.2 kB / 1.035 GB, free: 15.55 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.3561, allocations: 0.677 MB / 1.036 GB, free: 14.85 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.233e-05/0.3561, allocations: 4 kB / 1.036 GB, free: 14.84 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.619e-05/0.3561, allocations: 11.44 kB / 1.036 GB, free: 14.83 MB / 0.795 GB Notification: Performance of SimCode: time 1.684e-06/0.3561, allocations: 0 / 1.036 GB, free: 14.83 MB / 0.795 GB Notification: Performance of Templates: time 0.003279/0.3594, allocations: 0.988 MB / 1.037 GB, free: 13.84 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:lambda,seed,t0,time,y