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.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.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.0008948/0.0008949, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007398/0.007398, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.444/1.444, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.878/2.878, allocations: 462.7 MB / 0.7364 GB, free: 256 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004827, allocations: 10.31 kB / 0.9028 GB, free: 36.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4186, allocations: 159.6 MB / 1.059 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001466/0.4202, allocations: 0.9509 MB / 1.06 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009624/0.4212, allocations: 458.6 kB / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.125e-05/0.4212, allocations: 0 / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.4212, allocations: 0 / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.245e-05/0.4213, allocations: 4 kB / 1.06 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.4217, allocations: 83.78 kB / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.011e-05/0.4218, allocations: 23.86 kB / 1.06 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.4219, allocations: 4 kB / 1.06 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.922e-05/0.4219, allocations: 15.97 kB / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.831e-05/0.4219, allocations: 3.938 kB / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.4219, allocations: 4 kB / 1.06 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.4222, allocations: 107.8 kB / 1.06 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.4222, allocations: 4 kB / 1.06 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.4222, allocations: 41.62 kB / 1.06 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.4224, allocations: 99.8 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.4224, allocations: 0 / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4225, allocations: 0 / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.4225, allocations: 0 / 1.06 GB, free: 3.668 MB / 0.8106 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.0004653/0.4229, allocations: 378.8 kB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.423, allocations: 12.03 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.423, allocations: 8.844 kB / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.4232, allocations: 168.4 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.4232, allocations: 384 / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.4232, allocations: 8.312 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.4233, allocations: 38.25 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.4233, allocations: 192 / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.4234, allocations: 3.938 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4234, allocations: 0 / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.764e-05/0.4234, allocations: 4 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.4236, allocations: 161.7 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.986e-05/0.4237, allocations: 26.58 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.39e-05/0.4237, allocations: 24.88 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.4237, allocations: 0 / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.4239, allocations: 47.41 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.4239, allocations: 0 / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002134/0.4241, allocations: 81.5 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.4242, allocations: 63.34 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.463e-05/0.4243, allocations: 106 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.4243, allocations: 25.7 kB / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.4243, allocations: 80.14 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.4244, allocations: 27.75 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.4244, allocations: 9.719 kB / 1.062 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.4245, allocations: 318.8 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.4245, allocations: 11.98 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.369e-05/0.4246, allocations: 27.44 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.491e-05/0.4247, allocations: 47.38 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4247, allocations: 0 / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.784e-05/0.4248, allocations: 77.52 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4248, allocations: 7.938 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4248, allocations: 64 / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.4248, allocations: 8 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.27e-05/0.4249, allocations: 11.88 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4249, allocations: 4 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.281e-05/0.4249, allocations: 0 / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.425, allocations: 4 kB / 1.062 GB, free: 1.656 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.887e-05/0.425, allocations: 117.9 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.4251, allocations: 7.938 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/0.4251, allocations: 3.906 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.4251, allocations: 0 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4251, allocations: 0 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.4251, allocations: 0 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.4252, allocations: 157.7 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4253, allocations: 0 / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.688e-05/0.4253, allocations: 3.984 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4253, allocations: 3.938 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.4253, allocations: 4 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4253, allocations: 4 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4253, allocations: 0 / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.4254, allocations: 92.95 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.4255, allocations: 85.11 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.4255, allocations: 3.938 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.089e-05/0.4255, allocations: 0 / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.4256, allocations: 0 / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.4256, allocations: 8 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.111e-05/0.4256, allocations: 83.27 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4256, allocations: 0 / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002588/0.4259, allocations: 32 kB / 1.063 GB, free: 0.9609 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.0004111/0.4263, allocations: 173.5 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.4264, allocations: 39.86 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4265, allocations: 0 / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.919e-05/0.4265, allocations: 8 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.4267, allocations: 4 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.4269, allocations: 126.4 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.4272, allocations: 0.6731 MB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.444e-05/0.4272, allocations: 12.17 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.4272, allocations: 7.438 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.4273, allocations: 0 / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of Templates: time 0.003751/0.431, allocations: 1.069 MB / 1.065 GB, free: 14.81 MB / 0.8262 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 -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/jenkins/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