Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 117.9 kB / 16.37 MB, free: 6.012 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.001686/0.001686, allocations: 190.4 kB / 17.31 MB, free: 5.613 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.587/2.587, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.001561, allocations: 64.02 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3375, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.003161/0.3407, allocations: 1.225 MB / 1.028 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3418, allocations: 456.8 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.764e-05/0.3418, allocations: 3.938 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.3419, allocations: 0 / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.583e-05/0.3419, allocations: 3.938 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005944/0.3425, allocations: 115.6 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.313e-05/0.3426, allocations: 15.94 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.323e-05/0.3427, allocations: 7.969 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.221e-05/0.3427, allocations: 15.94 kB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.857e-05/0.3427, allocations: 3.984 kB / 1.029 GB, free: 268 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.3428, allocations: 4 kB / 1.029 GB, free: 264 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002258/0.343, allocations: 103.8 kB / 1.029 GB, free: 160 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.343, allocations: 11.86 kB / 1.029 GB, free: 148 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.3431, allocations: 11.94 kB / 1.029 GB, free: 136 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.3433, allocations: 99.8 kB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3433, allocations: 4 kB / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3433, allocations: 0 / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.3433, allocations: 0 / 1.029 GB, free: 32 kB / 0.795 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.0005471/0.3438, allocations: 385.1 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3439, allocations: 8.031 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.3439, allocations: 0.9375 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.3441, allocations: 168.4 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.3441, allocations: 4.359 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.3441, allocations: 8.375 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.3442, allocations: 38.19 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.3442, allocations: 192 / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3443, allocations: 3.938 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3443, allocations: 4 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.006e-05/0.3443, allocations: 4 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.3445, allocations: 165.6 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.552e-05/0.3446, allocations: 26.58 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.405e-05/0.3446, allocations: 20.92 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.3446, allocations: 0 / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.3448, allocations: 55.34 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3448, allocations: 0 / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002068/0.345, allocations: 73.61 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.345, allocations: 55.34 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.432e-05/0.3451, allocations: 113.8 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.3451, allocations: 25.7 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.3452, allocations: 84.14 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.3452, allocations: 11.84 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.3453, allocations: 25.7 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3454, allocations: 310.8 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.3454, allocations: 8 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.74e-05/0.3454, allocations: 39.61 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.607e-05/0.3455, allocations: 47.38 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.3455, allocations: 4 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001058/0.3456, allocations: 73.52 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3456, allocations: 8.031 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3457, allocations: 4 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3457, allocations: 4 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.3457, allocations: 4 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.3458, allocations: 4 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.355e-05/0.3458, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.3458, allocations: 7.938 kB / 1.03 GB, free: 14.02 MB / 0.8106 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 8.275e-05/0.3459, allocations: 121.7 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.3459, allocations: 11.84 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.3459, allocations: 7.906 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.3459, allocations: 0 / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.346, allocations: 0 / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.346, allocations: 0 / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.3461, allocations: 157.7 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3461, allocations: 0 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.209e-05/0.3461, allocations: 3.984 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3461, allocations: 3.938 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3461, allocations: 4 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3461, allocations: 0 / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3461, allocations: 0 / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.3463, allocations: 93.05 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.3463, allocations: 81.11 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.3463, allocations: 3.938 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.064e-05/0.3464, allocations: 3.938 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.3464, allocations: 288 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.3464, allocations: 4 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.3464, allocations: 87.27 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3465, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002436/0.3467, allocations: 32 kB / 1.031 GB, free: 13.31 MB / 0.8106 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.0003431/0.3471, allocations: 174.6 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.3472, allocations: 31.92 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3472, allocations: 0 / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.502e-05/0.3473, allocations: 12.19 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.3474, allocations: 4 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.3477, allocations: 116.8 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.3479, allocations: 0.6807 MB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.739e-05/0.3479, allocations: 0 / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/0.348, allocations: 11.44 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.348, allocations: 0 / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of Templates: time 0.003686/0.3517, allocations: 1.093 MB / 1.033 GB, free: 11.14 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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