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.416/2.416, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001077/0.001078, allocations: 180 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0008326/0.0008327, allocations: 87.95 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.145e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3118, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.341, allocations: 150.2 MB / 1.365 GB, free: 3.785 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/1.342, allocations: 76.52 kB / 1.366 GB, free: 3.742 MB / 0.823 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.005819/1.348, allocations: 2.105 MB / 1.368 GB, free: 1.922 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.483e-06/1.348, allocations: 0 / 1.368 GB, free: 1.922 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.432e-06/1.348, allocations: 4 kB / 1.368 GB, free: 1.918 MB / 0.823 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.0003435/1.348, allocations: 338.4 kB / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.348, allocations: 8.031 kB / 1.368 GB, free: 1.539 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/1.348, allocations: 7.953 kB / 1.368 GB, free: 1.531 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/1.348, allocations: 167.7 kB / 1.368 GB, free: 1.328 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/1.348, allocations: 0 / 1.368 GB, free: 1.328 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/1.348, allocations: 8 kB / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/1.348, allocations: 45.31 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.348, allocations: 0 / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/1.348, allocations: 0 / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/1.348, allocations: 4 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.634e-05/1.348, allocations: 0 / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/1.349, allocations: 160.8 kB / 1.368 GB, free: 1.066 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.932e-05/1.349, allocations: 30.55 kB / 1.368 GB, free: 1.031 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/1.349, allocations: 20.11 kB / 1.368 GB, free: 1.012 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/1.349, allocations: 0 / 1.368 GB, free: 1.012 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/1.349, allocations: 58.98 kB / 1.368 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/1.349, allocations: 0 / 1.368 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001941/1.349, allocations: 53.25 kB / 1.368 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/1.349, allocations: 63.02 kB / 1.368 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.502e-05/1.349, allocations: 93 kB / 1.369 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/1.349, allocations: 25.7 kB / 1.369 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/1.349, allocations: 83.95 kB / 1.369 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/1.349, allocations: 3.906 kB / 1.369 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/1.349, allocations: 0 / 1.369 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001607/1.35, allocations: 326 kB / 1.369 GB, free: 288 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/1.35, allocations: 4 kB / 1.369 GB, free: 284 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.172e-05/1.35, allocations: 38.94 kB / 1.369 GB, free: 236 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.108e-05/1.35, allocations: 15.69 kB / 1.369 GB, free: 224 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.35, allocations: 0 / 1.369 GB, free: 224 kB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001048/1.35, allocations: 72.83 kB / 1.369 GB, free: 152 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.35, allocations: 4 kB / 1.369 GB, free: 148 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/1.35, allocations: 288 / 1.369 GB, free: 148 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/1.35, allocations: 4.094 kB / 1.369 GB, free: 144 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.036e-05/1.35, allocations: 11.94 kB / 1.369 GB, free: 132 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/1.35, allocations: 4 kB / 1.369 GB, free: 128 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.474e-05/1.35, allocations: 0 / 1.369 GB, free: 128 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/1.35, allocations: 4 kB / 1.369 GB, free: 124 kB / 0.823 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 () * 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 0.0001071/1.35, allocations: 116 kB / 1.369 GB, free: 4 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/1.35, allocations: 3.984 kB / 1.369 GB, free: 0 / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.201e-05/1.35, allocations: 7.547 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/1.35, allocations: 0.5625 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.35, allocations: 3.938 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.35, allocations: 4 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/1.35, allocations: 156.8 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.35, allocations: 3.562 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.476e-05/1.35, allocations: 4 kB / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.35, allocations: 0 / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/1.351, allocations: 0 / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.351, allocations: 0 / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.351, allocations: 3.984 kB / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/1.351, allocations: 96.67 kB / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/1.351, allocations: 77.11 kB / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/1.351, allocations: 7.797 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.927e-05/1.351, allocations: 0 / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/1.351, allocations: 4 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/1.351, allocations: 0 / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.847e-05/1.351, allocations: 79.28 kB / 1.37 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.351, allocations: 0 / 1.37 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002608/1.351, allocations: 43.8 kB / 1.37 GB, free: 15.45 MB / 0.8386 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 () * 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.0004755/1.352, allocations: 168.2 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001118/1.352, allocations: 27.12 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.352, allocations: 0 / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.746e-05/1.352, allocations: 15.92 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/1.352, allocations: 16.83 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000211/1.352, allocations: 72.42 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/1.352, allocations: 0.6809 MB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.072e-05/1.352, allocations: 0 / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/1.353, allocations: 11.44 kB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of SimCode: time 3.1e-07/1.353, allocations: 0 / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of Templates: time 0.003612/1.356, allocations: 1.165 MB / 1.372 GB, free: 13.28 MB / 0.8386 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