Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.001082/0.001082, allocations: 110 kB / 16.41 MB, free: 6.5 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.001064/0.001064, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.15 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.372/2.372, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 68.11 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.753/0.7544, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.00228/0.7567, allocations: 1.216 MB / 1.168 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008224/0.7576, allocations: 405.1 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.7576, allocations: 3.938 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.7577, allocations: 0 / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.85e-05/0.7577, allocations: 3.984 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005585/0.7583, allocations: 95.66 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.162e-05/0.7584, allocations: 11.98 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.7584, allocations: 0 / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.105e-05/0.7584, allocations: 11.98 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.104e-05/0.7585, allocations: 15.92 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.7585, allocations: 0 / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.7587, allocations: 99.83 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.7587, allocations: 0 / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.7588, allocations: 11.94 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.759, allocations: 87.81 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.759, allocations: 4 kB / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.473e-06/0.759, allocations: 0 / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.759, allocations: 0 / 1.169 GB, free: 1.914 MB / 0.8887 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.0004538/0.7594, allocations: 347.5 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.7595, allocations: 16.86 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.7595, allocations: 4.844 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.7597, allocations: 164.2 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.7597, allocations: 8.359 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.7597, allocations: 384 / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.746e-05/0.7598, allocations: 38.25 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.7598, allocations: 4.188 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.7598, allocations: 3.938 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.7598, allocations: 0 / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.399e-05/0.7599, allocations: 8 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.76, allocations: 157.7 kB / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.96e-05/0.7601, allocations: 38.55 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.758e-05/0.7602, allocations: 8.859 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.7602, allocations: 3.984 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001141/0.7603, allocations: 59.48 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.7603, allocations: 0 / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001892/0.7605, allocations: 73.55 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.7605, allocations: 59.41 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.9e-05/0.7606, allocations: 93.86 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.7606, allocations: 33.64 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.7607, allocations: 80.14 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.7607, allocations: 11.8 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.7608, allocations: 25.72 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.7609, allocations: 314.8 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.17e-05/0.7609, allocations: 7.984 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.566e-05/0.7609, allocations: 31.44 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.036e-05/0.761, allocations: 51.36 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.761, allocations: 0 / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001227/0.7611, allocations: 65.7 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.7612, allocations: 15.88 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.7612, allocations: 0 / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.7612, allocations: 0 / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.795e-05/0.7613, allocations: 8 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.7613, allocations: 3.984 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.776e-05/0.7613, allocations: 4.094 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.7613, allocations: 4 kB / 1.171 GB, free: 15.95 MB / 0.9044 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 7.671e-05/0.7614, allocations: 113.8 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.7614, allocations: 7.844 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.7615, allocations: 3.5 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.7615, allocations: 4 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.7615, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.7615, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.7616, allocations: 159.4 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7616, allocations: 0 / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.592e-05/0.7616, allocations: 7.938 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.7616, allocations: 7.922 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.7617, allocations: 4 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.7617, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.7617, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.7618, allocations: 81.53 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.7618, allocations: 81.11 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.7618, allocations: 3.938 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.311e-05/0.7619, allocations: 8 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.7619, allocations: 4.031 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.7619, allocations: 11.94 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.762, allocations: 79.27 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.762, allocations: 0 / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002525/0.7622, allocations: 32 kB / 1.171 GB, free: 15.25 MB / 0.9044 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.0003309/0.7626, allocations: 156.6 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.964e-05/0.7627, allocations: 23.98 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7627, allocations: 0 / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.572e-05/0.7627, allocations: 23.91 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.7629, allocations: 0.5625 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.7631, allocations: 142.5 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.7634, allocations: 0.6769 MB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.853e-05/0.7634, allocations: 11.44 kB / 1.172 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.7634, allocations: 4 kB / 1.172 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of Templates: time 0.002779/0.7662, allocations: 1.164 MB / 1.174 GB, free: 13.01 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches