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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001571/0.001571, allocations: 103.3 kB / 16.27 MB, free: 5.98 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.00174/0.00174, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.393/1.393, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.724/2.724, allocations: 482.4 MB / 0.7553 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 72.53 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7757/0.7776, allocations: 162.2 MB / 1.083 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002224/0.7799, allocations: 1.219 MB / 1.084 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007867/0.7807, allocations: 438.4 kB / 1.085 GB, free: 500 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.7807, allocations: 0 / 1.085 GB, free: 500 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.7808, allocations: 3.938 kB / 1.085 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.471e-05/0.7808, allocations: 2.469 kB / 1.085 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004866/0.7813, allocations: 123.3 kB / 1.085 GB, free: 428 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.23e-05/0.7814, allocations: 16.59 kB / 1.085 GB, free: 424 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.7814, allocations: 3.109 kB / 1.085 GB, free: 424 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.077e-05/0.7814, allocations: 14.41 kB / 1.085 GB, free: 416 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.66e-05/0.7815, allocations: 9.938 kB / 1.085 GB, free: 412 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.7815, allocations: 1.094 kB / 1.085 GB, free: 412 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.7817, allocations: 107 kB / 1.085 GB, free: 376 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.7817, allocations: 3.297 kB / 1.085 GB, free: 376 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.7817, allocations: 12.98 kB / 1.085 GB, free: 368 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.7819, allocations: 94.11 kB / 1.085 GB, free: 340 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7819, allocations: 4 kB / 1.085 GB, free: 336 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7819, allocations: 1.188 kB / 1.085 GB, free: 336 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.7819, allocations: 0 / 1.085 GB, free: 336 kB / 0.8262 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.0004219/0.7824, allocations: 393.5 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.7824, allocations: 13.06 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.7824, allocations: 6.656 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.7826, allocations: 172.7 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.7826, allocations: 384 / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.7826, allocations: 4.594 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.7827, allocations: 39.08 kB / 1.085 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.7828, allocations: 1.125 kB / 1.085 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.7828, allocations: 8.969 kB / 1.086 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.7828, allocations: 0.8125 kB / 1.086 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.872e-05/0.7828, allocations: 3.844 kB / 1.086 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.783, allocations: 157 kB / 1.086 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.786e-05/0.7831, allocations: 32.61 kB / 1.086 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/0.7831, allocations: 14.73 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.649e-06/0.7831, allocations: 1.734 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.7833, allocations: 54.53 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.7833, allocations: 0 / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002008/0.7835, allocations: 73.83 kB / 1.086 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.7835, allocations: 52.41 kB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.414e-05/0.7836, allocations: 105.7 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.7837, allocations: 33.7 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.7837, allocations: 82.16 kB / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.7838, allocations: 18.8 kB / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.7838, allocations: 21.14 kB / 1.086 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.7839, allocations: 314.3 kB / 1.086 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.21e-05/0.784, allocations: 9.359 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.099e-05/0.784, allocations: 32.73 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.314e-05/0.7841, allocations: 45.53 kB / 1.087 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7841, allocations: 0.8125 kB / 1.087 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001157/0.7842, allocations: 73.92 kB / 1.087 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.7842, allocations: 13.16 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.7842, allocations: 9.094 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.7843, allocations: 2.609 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.917e-05/0.7843, allocations: 7.5 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.7843, allocations: 2.094 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.7844, allocations: 1 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.7844, allocations: 7.438 kB / 1.087 GB, free: 14.54 MB / 0.8419 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.005e-05/0.7845, allocations: 109.5 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.7845, allocations: 10.75 kB / 1.087 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.7845, allocations: 9.688 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.7845, allocations: 4 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.7845, allocations: 1.312 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.7845, allocations: 0.6094 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.7847, allocations: 156 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.7847, allocations: 4 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.581e-05/0.7847, allocations: 11.12 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.7847, allocations: 3.938 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.7847, allocations: 1.984 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.7847, allocations: 0.7031 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7848, allocations: 1.031 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.7849, allocations: 85.5 kB / 1.087 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.785, allocations: 83.2 kB / 1.087 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.785, allocations: 5.797 kB / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.153e-05/0.785, allocations: 0.75 kB / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.785, allocations: 3 kB / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.7851, allocations: 1.922 kB / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.89e-05/0.7851, allocations: 85.55 kB / 1.087 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7851, allocations: 4 kB / 1.087 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002538/0.7854, allocations: 34.36 kB / 1.087 GB, free: 13.93 MB / 0.8419 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.0003583/0.7857, allocations: 178.5 kB / 1.087 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.7859, allocations: 25.34 kB / 1.087 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.7859, allocations: 0.9375 kB / 1.087 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.603e-05/0.7859, allocations: 22.11 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.7861, allocations: 2.938 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002437/0.7863, allocations: 136.8 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.7866, allocations: 0.6778 MB / 1.088 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.958e-05/0.7867, allocations: 13.53 kB / 1.088 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.7867, allocations: 0 / 1.088 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of Templates: time 0.003106/0.7898, allocations: 1.242 MB / 1.089 GB, free: 12.83 MB / 0.8419 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=400 -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) Reference file matches