Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007743/0.007743, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001589/0.001589, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.575/2.575, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.89 kB / 1.054 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9914/0.9927, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002125/0.9949, allocations: 1.22 MB / 1.209 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009737/0.9959, allocations: 442.4 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.488e-05/0.9959, allocations: 0 / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.9959, allocations: 7.938 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.127e-05/0.996, allocations: 0 / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006436/0.9966, allocations: 119.6 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.342e-05/0.9967, allocations: 23.92 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.9968, allocations: 4 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.066e-05/0.9968, allocations: 11.92 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.377e-05/0.9969, allocations: 11.92 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.9969, allocations: 4 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002558/0.9972, allocations: 103.9 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.9972, allocations: 0 / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.9972, allocations: 11.94 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.9975, allocations: 99.73 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.9975, allocations: 0 / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9975, allocations: 0 / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.9975, allocations: 4 kB / 1.21 GB, free: 11.61 MB / 0.9356 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.0006455/0.9982, allocations: 389 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.9982, allocations: 8.031 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.9983, allocations: 0.9375 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.9984, allocations: 172.3 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.9985, allocations: 384 / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.9985, allocations: 8.359 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.9986, allocations: 38.25 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.9987, allocations: 4.188 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.9987, allocations: 7.875 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.9987, allocations: 0 / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.829e-05/0.9987, allocations: 7.938 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.999, allocations: 161.7 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.9992, allocations: 30.58 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.247e-05/0.9992, allocations: 12.94 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.9993, allocations: 4 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.9994, allocations: 51.41 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 5.691e-06/0.9995, allocations: 0 / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002743/0.9997, allocations: 77.55 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.9998, allocations: 51.41 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.9999, allocations: 109.8 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/1, allocations: 29.7 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/1, allocations: 84.14 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/1, allocations: 21.62 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/1, allocations: 21.7 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001698/1, allocations: 310.8 kB / 1.211 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.163e-05/1, allocations: 19.92 kB / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.61e-05/1, allocations: 23.44 kB / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.344e-05/1, allocations: 55.36 kB / 1.211 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.001, allocations: 0 / 1.211 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001372/1.001, allocations: 65.56 kB / 1.211 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.001, allocations: 14.28 kB / 1.211 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/1.001, allocations: 0 / 1.211 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/1.001, allocations: 4 kB / 1.211 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/1.001, allocations: 8.094 kB / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/1.001, allocations: 0 / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.545e-05/1.001, allocations: 8 kB / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/1.001, allocations: 7.984 kB / 1.211 GB, free: 9.586 MB / 0.9356 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 0.000106/1.001, allocations: 109.8 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/1.001, allocations: 11.84 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.865e-05/1.001, allocations: 7.906 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/1.001, allocations: 240 / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.001, allocations: 0 / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/1.001, allocations: 7.984 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/1.001, allocations: 165.5 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.001, allocations: 3.984 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.679e-05/1.001, allocations: 0 / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/1.001, allocations: 3.938 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/1.001, allocations: 4 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/1.001, allocations: 160 / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.001, allocations: 256 / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/1.002, allocations: 85.11 kB / 1.212 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/1.002, allocations: 85.02 kB / 1.212 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/1.002, allocations: 7.938 kB / 1.212 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.494e-05/1.002, allocations: 0 / 1.212 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/1.002, allocations: 3.938 kB / 1.212 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/1.002, allocations: 7.984 kB / 1.212 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.349e-05/1.002, allocations: 83.28 kB / 1.212 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/1.002, allocations: 0 / 1.212 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003569/1.002, allocations: 31.98 kB / 1.212 GB, free: 8.871 MB / 0.9356 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.0004475/1.003, allocations: 163.1 kB / 1.212 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001613/1.003, allocations: 31.92 kB / 1.212 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.003, allocations: 0 / 1.212 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.7e-05/1.003, allocations: 12 kB / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/1.003, allocations: 0 / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/1.003, allocations: 121.1 kB / 1.212 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/1.004, allocations: 0.6807 MB / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.59e-05/1.004, allocations: 0 / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/1.004, allocations: 11.44 kB / 1.213 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/1.004, allocations: 0 / 1.213 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of Templates: time 0.004967/1.009, allocations: 1.101 MB / 1.214 GB, free: 6.715 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches