Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.613/1.613, allocations: 225.6 MB / 249.4 MB, free: 3.289 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.92/2.92, allocations: 496.1 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] 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.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002815/0.002815, allocations: 63.89 kB / 1.136 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265/1.268, allocations: 173.7 MB / 1.305 GB, free: 33.42 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002385/1.27, allocations: 1.221 MB / 1.307 GB, free: 32.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008577/1.271, allocations: 424.5 kB / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/1.271, allocations: 3 kB / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.273e-05/1.271, allocations: 0 / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.286e-05/1.271, allocations: 0 / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005887/1.271, allocations: 103.2 kB / 1.307 GB, free: 32.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.25e-05/1.272, allocations: 17.02 kB / 1.307 GB, free: 32.24 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.139e-05/1.272, allocations: 2.781 kB / 1.307 GB, free: 32.24 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.87e-05/1.272, allocations: 14 kB / 1.307 GB, free: 32.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.127e-05/1.272, allocations: 6.328 kB / 1.307 GB, free: 32.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/1.272, allocations: 0 / 1.307 GB, free: 32.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/1.272, allocations: 97.47 kB / 1.307 GB, free: 32.21 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/1.272, allocations: 11.36 kB / 1.307 GB, free: 32.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/1.272, allocations: 7.062 kB / 1.307 GB, free: 32.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002012/1.272, allocations: 87.31 kB / 1.307 GB, free: 32.17 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.272, allocations: 4 kB / 1.307 GB, free: 32.17 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.794e-06/1.272, allocations: 0 / 1.307 GB, free: 32.17 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.671e-06/1.272, allocations: 0 / 1.307 GB, free: 32.17 MB / 1.061 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.0005023/1.273, allocations: 348.6 kB / 1.308 GB, free: 31.8 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.273, allocations: 11.53 kB / 1.308 GB, free: 31.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/1.273, allocations: 0.9375 kB / 1.308 GB, free: 31.8 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/1.273, allocations: 170.5 kB / 1.308 GB, free: 31.6 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/1.273, allocations: 384 / 1.308 GB, free: 31.6 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/1.273, allocations: 11.34 kB / 1.308 GB, free: 31.59 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/1.273, allocations: 35.92 kB / 1.308 GB, free: 31.56 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/1.273, allocations: 192 / 1.308 GB, free: 31.56 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/1.273, allocations: 3.938 kB / 1.308 GB, free: 31.55 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/1.273, allocations: 0 / 1.308 GB, free: 31.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.133e-05/1.273, allocations: 10.05 kB / 1.308 GB, free: 31.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/1.273, allocations: 155.9 kB / 1.308 GB, free: 31.36 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.151e-05/1.273, allocations: 30.67 kB / 1.308 GB, free: 31.33 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.896e-05/1.273, allocations: 11.92 kB / 1.308 GB, free: 31.32 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.986e-06/1.273, allocations: 2.875 kB / 1.308 GB, free: 31.32 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/1.274, allocations: 58.12 kB / 1.308 GB, free: 31.26 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/1.274, allocations: 0 / 1.308 GB, free: 31.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002208/1.274, allocations: 77.5 kB / 1.308 GB, free: 31.21 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/1.274, allocations: 55.34 kB / 1.308 GB, free: 31.14 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.131e-05/1.274, allocations: 100.6 kB / 1.308 GB, free: 31.04 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/1.274, allocations: 32.58 kB / 1.308 GB, free: 31.01 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.537e-05/1.274, allocations: 80.14 kB / 1.308 GB, free: 30.93 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/1.274, allocations: 10.69 kB / 1.308 GB, free: 30.92 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/1.274, allocations: 22.95 kB / 1.309 GB, free: 30.9 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.903e-05/1.274, allocations: 314.8 kB / 1.309 GB, free: 30.58 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.13e-05/1.274, allocations: 6.812 kB / 1.309 GB, free: 30.58 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.36e-05/1.274, allocations: 36.56 kB / 1.309 GB, free: 30.54 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.82e-05/1.274, allocations: 52.48 kB / 1.309 GB, free: 30.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.274, allocations: 0 / 1.309 GB, free: 30.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.934e-05/1.274, allocations: 66.59 kB / 1.309 GB, free: 30.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/1.274, allocations: 9.594 kB / 1.309 GB, free: 30.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.274, allocations: 6.844 kB / 1.309 GB, free: 30.44 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/1.274, allocations: 0 / 1.309 GB, free: 30.44 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.807e-05/1.274, allocations: 8.625 kB / 1.309 GB, free: 30.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/1.274, allocations: 2.562 kB / 1.309 GB, free: 30.44 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.662e-05/1.274, allocations: 6.812 kB / 1.309 GB, free: 30.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/1.274, allocations: 0 / 1.309 GB, free: 30.44 MB / 1.061 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 7.189e-05/1.274, allocations: 116.8 kB / 1.309 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/1.274, allocations: 10.83 kB / 1.309 GB, free: 30.31 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/1.275, allocations: 7.5 kB / 1.309 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.275, allocations: 3.281 kB / 1.309 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.275, allocations: 2.938 kB / 1.309 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/1.275, allocations: 0 / 1.309 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.422e-05/1.275, allocations: 152 kB / 1.309 GB, free: 30.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/1.275, allocations: 0 / 1.309 GB, free: 30.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.328e-05/1.275, allocations: 2.906 kB / 1.309 GB, free: 30.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/1.275, allocations: 3.938 kB / 1.309 GB, free: 30.1 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/1.275, allocations: 0 / 1.309 GB, free: 30.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-06/1.275, allocations: 4 kB / 1.309 GB, free: 30.1 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.275, allocations: 6.203 kB / 1.309 GB, free: 30.1 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/1.275, allocations: 84.88 kB / 1.309 GB, free: 30.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.928e-05/1.275, allocations: 77.11 kB / 1.309 GB, free: 29.93 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/1.275, allocations: 10.53 kB / 1.309 GB, free: 29.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.861e-05/1.275, allocations: 7.875 kB / 1.309 GB, free: 29.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/1.275, allocations: 3.938 kB / 1.309 GB, free: 29.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/1.275, allocations: 6.031 kB / 1.309 GB, free: 29.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.377e-05/1.275, allocations: 78.06 kB / 1.31 GB, free: 29.84 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/1.275, allocations: 4 kB / 1.31 GB, free: 29.83 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002531/1.275, allocations: 32.03 kB / 1.31 GB, free: 29.82 MB / 1.061 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.0004045/1.276, allocations: 156.7 kB / 1.31 GB, free: 29.71 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000129/1.276, allocations: 28.45 kB / 1.31 GB, free: 29.71 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.276, allocations: 0 / 1.31 GB, free: 29.71 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.048e-05/1.276, allocations: 13.94 kB / 1.31 GB, free: 29.7 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/1.276, allocations: 6.453 kB / 1.31 GB, free: 29.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002655/1.276, allocations: 112.1 kB / 1.31 GB, free: 29.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/1.276, allocations: 0.6776 MB / 1.311 GB, free: 28.89 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.541e-05/1.276, allocations: 3.281 kB / 1.311 GB, free: 28.89 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.645e-05/1.276, allocations: 10.31 kB / 1.311 GB, free: 28.88 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/1.276, allocations: 0 / 1.311 GB, free: 28.88 MB / 1.061 GB Notification: Performance of Templates: time 0.003732/1.28, allocations: 1.027 MB / 1.312 GB, free: 28.75 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:lambda,seed,t0,time,y [Calling sys.exit(0), Time elapsed: 10.264883671887219]