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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.309/2.309, allocations: 393.5 MB / 408.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 183.8 kB / 0.4902 GB, free: 2.305 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.683/1.683, allocations: 223.2 MB / 0.7992 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 98.31 kB / 0.9396 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.0004011, allocations: 8.688 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3124, allocations: 143 MB / 1.229 GB, free: 85.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2029/0.5154, allocations: 150.3 MB / 1.376 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.5158, allocations: 75.95 kB / 1.376 GB, free: 14.96 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Occupants/BaseClasses/weibullVariableGeneration.mo:12:5-12:98:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.006246/0.522, allocations: 2.114 MB / 1.378 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.948e-06/0.5221, allocations: 0 / 1.378 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.5221, allocations: 4 kB / 1.378 GB, free: 12.84 MB / 0.8855 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.0004391/0.5225, allocations: 348.3 kB / 1.378 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.5226, allocations: 8.031 kB / 1.378 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.5226, allocations: 11.86 kB / 1.378 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.5228, allocations: 167.1 kB / 1.379 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.5228, allocations: 0 / 1.379 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.5228, allocations: 4 kB / 1.379 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.5229, allocations: 41.67 kB / 1.379 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.5229, allocations: 0 / 1.379 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.5229, allocations: 0 / 1.379 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.523, allocations: 0 / 1.379 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.325e-05/0.523, allocations: 11.92 kB / 1.379 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.5232, allocations: 157.7 kB / 1.379 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.602e-05/0.5233, allocations: 30.58 kB / 1.379 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.5233, allocations: 0 / 1.379 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.5234, allocations: 55.48 kB / 1.379 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.5234, allocations: 0 / 1.379 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0002222/0.5236, allocations: 69.61 kB / 1.379 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.5237, allocations: 55.41 kB / 1.379 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.227e-05/0.5238, allocations: 97 kB / 1.379 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.5238, allocations: 25.7 kB / 1.379 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.712e-05/0.5238, allocations: 80.14 kB / 1.379 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.5239, allocations: 23.67 kB / 1.379 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.5239, allocations: 4 kB / 1.379 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.524, allocations: 318.7 kB / 1.38 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.187e-05/0.524, allocations: 8 kB / 1.38 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.282e-05/0.5241, allocations: 39.42 kB / 1.38 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.05e-05/0.5241, allocations: 11.94 kB / 1.38 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.5241, allocations: 0 / 1.38 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.781e-05/0.5242, allocations: 61.62 kB / 1.38 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.5243, allocations: 4 kB / 1.38 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.5243, allocations: 4 kB / 1.38 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.5243, allocations: 0 / 1.38 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.115e-05/0.5244, allocations: 20.08 kB / 1.38 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.5244, allocations: 0 / 1.38 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.5244, allocations: 0 / 1.38 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.5244, allocations: 7.938 kB / 1.38 GB, free: 10.99 MB / 0.8855 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.354e-05/0.5245, allocations: 118.6 kB / 1.38 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.5245, allocations: 0 / 1.38 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.838e-05/0.5246, allocations: 3.5 kB / 1.38 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.5246, allocations: 4 kB / 1.38 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5246, allocations: 0 / 1.38 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5246, allocations: 8.406 kB / 1.38 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.5247, allocations: 165.5 kB / 1.38 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5247, allocations: 0 / 1.38 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.446e-05/0.5248, allocations: 0 / 1.38 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5248, allocations: 0 / 1.38 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.5248, allocations: 4 kB / 1.38 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5248, allocations: 0 / 1.38 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5248, allocations: 0 / 1.38 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.5249, allocations: 96.98 kB / 1.38 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.525, allocations: 81.11 kB / 1.38 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.525, allocations: 4 kB / 1.38 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.07e-05/0.525, allocations: 0 / 1.38 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.5251, allocations: 0 / 1.38 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.5251, allocations: 11.98 kB / 1.38 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.25e-05/0.5251, allocations: 75.28 kB / 1.38 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.833e-06/0.5251, allocations: 0 / 1.38 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002592/0.5254, allocations: 47.88 kB / 1.38 GB, free: 10.29 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003682/0.5258, allocations: 168.6 kB / 1.38 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.5259, allocations: 27.92 kB / 1.38 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5259, allocations: 96 / 1.38 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.938e-05/0.5259, allocations: 12 kB / 1.38 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/0.526, allocations: 10 kB / 1.38 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003105/0.5263, allocations: 116.8 kB / 1.381 GB, free: 9.938 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.5266, allocations: 0.6809 MB / 1.381 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.624e-05/0.5266, allocations: 3.984 kB / 1.381 GB, free: 9.227 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.822e-05/0.5267, allocations: 11.44 kB / 1.381 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of SimCode: time 2.464e-06/0.5267, allocations: 0 / 1.381 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of Templates: time 0.003506/0.5302, allocations: 1.159 MB / 1.382 GB, free: 8.055 MB / 0.8855 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","../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