Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.537/1.537, allocations: 249.5 MB / 257 MB, free: 6.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00167/0.00167, allocations: 180.9 kB / 316.3 MB, free: 3.297 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.3 MB / 0.5671 GB, free: 15.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008456/0.0008457, allocations: 86.3 kB / 0.6714 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.436e-05/1.438e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2065, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7035/0.91, allocations: 132.2 MB / 1.014 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.9103, allocations: 78.33 kB / 1.014 GB, free: 5.641 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.009077/0.9194, allocations: 2.281 MB / 1.017 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9194, allocations: 4.75 kB / 1.017 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.9194, allocations: 0 / 1.017 GB, free: 3.695 MB / 0.6355 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.0005557/0.92, allocations: 383.2 kB / 1.017 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.9201, allocations: 8.031 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.9202, allocations: 4 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.9204, allocations: 170.4 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.9204, allocations: 0 / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.9204, allocations: 5.75 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.501e-05/0.9205, allocations: 11.88 kB / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.9207, allocations: 37.69 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.9207, allocations: 0 / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.9207, allocations: 3.984 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.9207, allocations: 0 / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/0.921, allocations: 137.6 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.9211, allocations: 25.83 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.594e-05/0.9212, allocations: 11.23 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.9212, allocations: 8 kB / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.9214, allocations: 60.83 kB / 1.017 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.364e-06/0.9214, allocations: 0 / 1.017 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000239/0.9217, allocations: 49.44 kB / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.9217, allocations: 58.91 kB / 1.018 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.9219, allocations: 96.73 kB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.9219, allocations: 25.7 kB / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.221e-05/0.922, allocations: 88.14 kB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.922, allocations: 7.156 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.9221, allocations: 0 / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.9222, allocations: 314.8 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.246e-05/0.9223, allocations: 7.5 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.9224, allocations: 31.81 kB / 1.018 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.091e-05/0.9224, allocations: 19.89 kB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.9225, allocations: 0 / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001622/0.9226, allocations: 65.38 kB / 1.018 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.9227, allocations: 5.875 kB / 1.018 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.9227, allocations: 0 / 1.018 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/0.9227, allocations: 8.484 kB / 1.018 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.496e-05/0.9228, allocations: 7.938 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.9229, allocations: 4 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.9229, allocations: 8.031 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.9229, allocations: 4.812 kB / 1.018 GB, free: 1.891 MB / 0.6355 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.0001177/0.9231, allocations: 111.9 kB / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.9231, allocations: 7.906 kB / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.9232, allocations: 4.344 kB / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.9232, allocations: 3.984 kB / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.9232, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.9232, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.9234, allocations: 134 kB / 1.018 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.9234, allocations: 8 kB / 1.018 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.191e-05/0.9235, allocations: 4 kB / 1.018 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.9235, allocations: 3.953 kB / 1.018 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.9235, allocations: 0 / 1.018 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.9235, allocations: 3.938 kB / 1.018 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.9236, allocations: 4.156 kB / 1.018 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.9237, allocations: 80.8 kB / 1.019 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.9238, allocations: 81.02 kB / 1.019 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.9239, allocations: 7.953 kB / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.402e-05/0.9239, allocations: 0 / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.924, allocations: 7.984 kB / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.924, allocations: 0 / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.205e-05/0.9241, allocations: 82.72 kB / 1.019 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9241, allocations: 3.938 kB / 1.019 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004683/0.9246, allocations: 47.92 kB / 1.019 GB, free: 1.234 MB / 0.6355 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.0005609/0.9252, allocations: 180.5 kB / 1.019 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.9253, allocations: 23.19 kB / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.9253, allocations: 3.938 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.025e-05/0.9254, allocations: 15.11 kB / 1.019 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.9256, allocations: 3.984 kB / 1.019 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.9259, allocations: 69.86 kB / 1.019 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.9263, allocations: 0.6807 MB / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.419e-05/0.9263, allocations: 4 kB / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.9264, allocations: 7.438 kB / 1.02 GB, free: 224 kB / 0.6355 GB Notification: Performance of SimCode: time 4.71e-07/0.9264, allocations: 0 / 1.02 GB, free: 224 kB / 0.6355 GB Notification: Performance of Templates: time 0.004962/0.9314, allocations: 1.232 MB / 1.021 GB, free: 15 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","../files/Buildings_maint.7.0.x_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