Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 102.4 kB / 16.27 MB, free: 6.414 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.001832/0.001832, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.311/1.311, allocations: 222.9 MB / 240.9 MB, free: 15.24 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.21/2.21, allocations: 390.3 MB / 0.6653 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 64.33 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2778, allocations: 140.4 MB / 0.9503 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.003069/0.2809, allocations: 1.194 MB / 0.9514 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009097/0.2818, allocations: 412.7 kB / 0.9518 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.2819, allocations: 3.938 kB / 0.9518 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.2819, allocations: 4 kB / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.394e-05/0.282, allocations: 0 / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005938/0.2826, allocations: 103.6 kB / 0.9519 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.524e-05/0.2827, allocations: 15.98 kB / 0.9519 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.2827, allocations: 0 / 0.9519 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.998e-05/0.2827, allocations: 4 kB / 0.9519 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.185e-05/0.2828, allocations: 15.92 kB / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.2828, allocations: 0 / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.283, allocations: 95.84 kB / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.2831, allocations: 3.984 kB / 0.9521 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.2831, allocations: 15.92 kB / 0.9521 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.2833, allocations: 79.83 kB / 0.9522 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2833, allocations: 0 / 0.9522 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2833, allocations: 0 / 0.9522 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.2833, allocations: 0 / 0.9522 GB, free: 6.938 MB / 0.7325 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.0005271/0.2839, allocations: 347.4 kB / 0.9525 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.2839, allocations: 8.031 kB / 0.9525 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.284, allocations: 8.922 kB / 0.9525 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.2841, allocations: 164.6 kB / 0.9527 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.2841, allocations: 8.375 kB / 0.9527 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.2841, allocations: 8.359 kB / 0.9527 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.2843, allocations: 34.25 kB / 0.9527 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.2843, allocations: 192 / 0.9527 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.2843, allocations: 3.938 kB / 0.9527 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2843, allocations: 0 / 0.9527 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.973e-05/0.2844, allocations: 7.984 kB / 0.9527 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.2845, allocations: 157.6 kB / 0.9529 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.672e-05/0.2846, allocations: 34.52 kB / 0.9529 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.143e-05/0.2847, allocations: 16.94 kB / 0.9529 GB, free: 6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/0.2847, allocations: 4 kB / 0.9529 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.2849, allocations: 55.39 kB / 0.953 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.2849, allocations: 0 / 0.953 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002097/0.2851, allocations: 77.48 kB / 0.953 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.2852, allocations: 55.41 kB / 0.9531 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.886e-05/0.2852, allocations: 101.8 kB / 0.9532 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.2853, allocations: 25.7 kB / 0.9532 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.2853, allocations: 84.14 kB / 0.9533 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.2853, allocations: 11.84 kB / 0.9533 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.2854, allocations: 21.7 kB / 0.9533 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2855, allocations: 314.8 kB / 0.9536 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.2855, allocations: 8 kB / 0.9536 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.684e-05/0.2856, allocations: 35.42 kB / 0.9537 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.856e-05/0.2857, allocations: 43.38 kB / 0.9537 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.2857, allocations: 0 / 0.9537 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001177/0.2858, allocations: 77.53 kB / 0.9538 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2858, allocations: 7.938 kB / 0.9538 GB, free: 5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2859, allocations: 3.984 kB / 0.9538 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2859, allocations: 4.422 kB / 0.9538 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.463e-05/0.286, allocations: 8 kB / 0.9538 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.286, allocations: 4 kB / 0.9538 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.781e-05/0.286, allocations: 0 / 0.9538 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.286, allocations: 8 kB / 0.9538 GB, free: 4.973 MB / 0.7325 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 9.055e-05/0.2861, allocations: 107.8 kB / 0.9539 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.2861, allocations: 11.97 kB / 0.9539 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.2862, allocations: 15.47 kB / 0.954 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2862, allocations: 0 / 0.954 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2862, allocations: 0 / 0.954 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2862, allocations: 0 / 0.954 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.2863, allocations: 149.7 kB / 0.9541 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.2863, allocations: 4 kB / 0.9541 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.56e-05/0.2864, allocations: 3.938 kB / 0.9541 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2864, allocations: 3.938 kB / 0.9541 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.2864, allocations: 0 / 0.9541 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2864, allocations: 160 / 0.9541 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.2864, allocations: 8 kB / 0.9541 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.2865, allocations: 89.02 kB / 0.9542 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.2866, allocations: 81.05 kB / 0.9543 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.2866, allocations: 7.938 kB / 0.9543 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.072e-05/0.2866, allocations: 0 / 0.9543 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.2867, allocations: 3.984 kB / 0.9543 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.2867, allocations: 0 / 0.9543 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.726e-05/0.2867, allocations: 83.28 kB / 0.9544 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.853e-06/0.2867, allocations: 0 / 0.9544 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002633/0.287, allocations: 35.92 kB / 0.9544 GB, free: 4.281 MB / 0.7325 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.0003683/0.2874, allocations: 167.1 kB / 0.9546 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.2875, allocations: 32.16 kB / 0.9546 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.2875, allocations: 4.188 kB / 0.9546 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.815e-05/0.2876, allocations: 15.94 kB / 0.9546 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.2877, allocations: 2.688 kB / 0.9546 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.288, allocations: 126.8 kB / 0.9547 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.2883, allocations: 0.6805 MB / 0.9554 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.238e-05/0.2883, allocations: 7.438 kB / 0.9554 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.2883, allocations: 0 / 0.9554 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of Templates: time 0.003278/0.2916, allocations: 1.174 MB / 0.9566 GB, free: 2.031 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches