Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.001536/0.001536, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001671/0.001671, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.201/2.201, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 64.09 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7847/0.7861, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002067/0.7882, allocations: 1.226 MB / 1.09 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007441/0.7889, allocations: 448.1 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.269e-05/0.789, allocations: 1.219 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.789, allocations: 3.938 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.247e-05/0.789, allocations: 0 / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.7895, allocations: 121.4 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.73e-05/0.7896, allocations: 16.38 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.7896, allocations: 7.062 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.953e-05/0.7896, allocations: 5.672 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.894e-05/0.7897, allocations: 14.08 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.7897, allocations: 5.062 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.7899, allocations: 103.4 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.7899, allocations: 7.75 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.79, allocations: 12.12 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.7902, allocations: 99.44 kB / 1.091 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.7902, allocations: 0 / 1.091 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7902, allocations: 3.938 kB / 1.091 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.7902, allocations: 6 kB / 1.091 GB, free: 4.223 MB / 0.8575 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.0003884/0.7906, allocations: 385.7 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.7906, allocations: 9.469 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.7907, allocations: 2.594 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.176e-05/0.7907, allocations: 164.4 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.7908, allocations: 1.75 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.7908, allocations: 2.781 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.045e-05/0.7909, allocations: 40.08 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.7909, allocations: 4.906 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.7909, allocations: 4.641 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.7909, allocations: 0.625 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.064e-05/0.7909, allocations: 4.672 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001077/0.7911, allocations: 164.4 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.96e-05/0.7911, allocations: 33.27 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/0.7912, allocations: 11.09 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.7912, allocations: 1.094 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/0.7913, allocations: 62.33 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.7913, allocations: 0 / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001829/0.7915, allocations: 77.2 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.7915, allocations: 53.42 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.368e-05/0.7916, allocations: 105.1 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.7916, allocations: 31.34 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.172e-05/0.7916, allocations: 89.84 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.7917, allocations: 12.09 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.7917, allocations: 20.66 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.169e-05/0.7917, allocations: 313.8 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/0.7918, allocations: 13.83 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-05/0.7918, allocations: 32.95 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.867e-05/0.7919, allocations: 45.53 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7919, allocations: 1 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.198e-05/0.792, allocations: 74.06 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.792, allocations: 9.656 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.792, allocations: 1.891 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.792, allocations: 1.406 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.078e-05/0.7921, allocations: 11.52 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.7921, allocations: 1.156 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/0.7921, allocations: 6.828 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.7921, allocations: 2.406 kB / 1.092 GB, free: 2.453 MB / 0.8575 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 4.755e-05/0.7922, allocations: 113.3 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.7922, allocations: 9.766 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.162e-05/0.7922, allocations: 9.562 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.7922, allocations: 0.9688 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7922, allocations: 5.641 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.7922, allocations: 0 / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.331e-05/0.7923, allocations: 163.1 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.7923, allocations: 1.062 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.231e-05/0.7923, allocations: 2.844 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.7923, allocations: 3.938 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-06/0.7924, allocations: 1.672 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.7924, allocations: 1.609 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.7924, allocations: 0 / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.7925, allocations: 85.83 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.7925, allocations: 79.56 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.7925, allocations: 5.766 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/0.7926, allocations: 0.75 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.7926, allocations: 9.891 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.7926, allocations: 2.797 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.521e-05/0.7926, allocations: 88.98 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7926, allocations: 1.094 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002414/0.7929, allocations: 29.91 kB / 1.093 GB, free: 1.84 MB / 0.8575 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.0002934/0.7932, allocations: 168.4 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.7933, allocations: 25.94 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.7933, allocations: 0 / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.812e-05/0.7933, allocations: 17.55 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.7935, allocations: 4.875 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002085/0.7937, allocations: 146.1 kB / 1.093 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.324e-05/0.7938, allocations: 0.6773 MB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.491e-05/0.7938, allocations: 10.3 kB / 1.094 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.7938, allocations: 0 / 1.094 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of Templates: time 0.003169/0.797, allocations: 1.254 MB / 1.095 GB, free: 0.7305 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches