Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.644/2.644, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001162/0.001162, allocations: 173.2 kB / 498.1 MB, free: 5.746 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.563/1.563, allocations: 223.2 MB / 0.7949 GB, free: 17.89 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.001193/0.001194, allocations: 96.33 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.0004021, allocations: 6.406 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3109, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1944/0.5053, allocations: 149.6 MB / 1.369 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.5056, allocations: 79.95 kB / 1.369 GB, free: 12.45 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96: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.006375/0.512, allocations: 2.322 MB / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.453e-06/0.512, allocations: 7.875 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.978e-06/0.512, allocations: 4 kB / 1.371 GB, free: 10.11 MB / 0.8698 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.0004849/0.5125, allocations: 385.6 kB / 1.372 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.5126, allocations: 12.02 kB / 1.372 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.5126, allocations: 3.953 kB / 1.372 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.5127, allocations: 163.1 kB / 1.372 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.5128, allocations: 0 / 1.372 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.5128, allocations: 4 kB / 1.372 GB, free: 9.461 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.5129, allocations: 45.62 kB / 1.372 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5129, allocations: 0 / 1.372 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.513, allocations: 0 / 1.372 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.513, allocations: 0 / 1.372 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.265e-05/0.513, allocations: 7.984 kB / 1.372 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.5133, allocations: 169.4 kB / 1.372 GB, free: 9.188 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.5134, allocations: 34.61 kB / 1.372 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.5134, allocations: 4 kB / 1.372 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.5135, allocations: 51.5 kB / 1.372 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.5136, allocations: 0 / 1.372 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002563/0.5138, allocations: 69.61 kB / 1.372 GB, free: 9.004 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.5139, allocations: 51.41 kB / 1.372 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.514, allocations: 101 kB / 1.372 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.514, allocations: 25.7 kB / 1.372 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.136e-05/0.5141, allocations: 88.14 kB / 1.372 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.5141, allocations: 7.906 kB / 1.372 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.5141, allocations: 0 / 1.372 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002324/0.5144, allocations: 322.8 kB / 1.373 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.532e-05/0.5144, allocations: 4 kB / 1.373 GB, free: 8.379 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.561e-05/0.5145, allocations: 39.41 kB / 1.373 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.452e-05/0.5145, allocations: 16 kB / 1.373 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5146, allocations: 0 / 1.373 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001234/0.5147, allocations: 73.47 kB / 1.373 GB, free: 8.234 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.5147, allocations: 4 kB / 1.373 GB, free: 8.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.5147, allocations: 0 / 1.373 GB, free: 8.23 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/0.5148, allocations: 4 kB / 1.373 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.801e-05/0.5149, allocations: 7.984 kB / 1.373 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.5149, allocations: 4 kB / 1.373 GB, free: 8.215 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.5149, allocations: 4.094 kB / 1.373 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.5149, allocations: 4 kB / 1.373 GB, free: 8.207 MB / 0.8698 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 0.0001455/0.5151, allocations: 117.7 kB / 1.373 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.5151, allocations: 7.906 kB / 1.373 GB, free: 8.074 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.5152, allocations: 4.141 kB / 1.373 GB, free: 8.062 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.5152, allocations: 3.984 kB / 1.373 GB, free: 8.059 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.5152, allocations: 3.938 kB / 1.373 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.5152, allocations: 7.938 kB / 1.373 GB, free: 8.047 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.5155, allocations: 161.6 kB / 1.373 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5155, allocations: 4.25 kB / 1.373 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.054e-05/0.5155, allocations: 0 / 1.373 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.5155, allocations: 4 kB / 1.373 GB, free: 7.832 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.5155, allocations: 4 kB / 1.373 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5155, allocations: 0 / 1.373 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5155, allocations: 0 / 1.373 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.5157, allocations: 89.06 kB / 1.373 GB, free: 7.723 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.358e-05/0.5158, allocations: 81.11 kB / 1.373 GB, free: 7.625 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.5158, allocations: 7.938 kB / 1.373 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.114e-05/0.5159, allocations: 0 / 1.373 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.5159, allocations: 3.984 kB / 1.373 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.5159, allocations: 4 kB / 1.373 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.675e-05/0.516, allocations: 79.28 kB / 1.373 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.516, allocations: 0 / 1.373 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004572/0.5165, allocations: 51.86 kB / 1.374 GB, free: 7.48 MB / 0.8698 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.0006077/0.5171, allocations: 175.4 kB / 1.374 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001591/0.5173, allocations: 31.92 kB / 1.374 GB, free: 7.281 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5173, allocations: 0 / 1.374 GB, free: 7.281 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.37e-05/0.5173, allocations: 19.92 kB / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.5175, allocations: 7.891 kB / 1.374 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004621/0.5179, allocations: 128.7 kB / 1.374 GB, free: 7.102 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.5183, allocations: 0.6809 MB / 1.375 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.911e-05/0.5184, allocations: 3.984 kB / 1.375 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/0.5184, allocations: 11.44 kB / 1.375 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of SimCode: time 2.31e-07/0.5184, allocations: 0 / 1.375 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of Templates: time 0.004659/0.5231, allocations: 1.234 MB / 1.376 GB, free: 5.145 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","../files/Buildings_9_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