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.001506/0.001506, allocations: 105.6 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.001252/0.001252, allocations: 189.8 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.333/1.333, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.151/2.151, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 66.27 kB / 0.8132 GB, free: 33.01 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2625, allocations: 140.4 MB / 0.9503 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002532/0.2651, allocations: 1.229 MB / 0.9515 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009477/0.2661, allocations: 448.6 kB / 0.9519 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.023e-05/0.2661, allocations: 0 / 0.9519 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.2661, allocations: 0 / 0.9519 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.524e-05/0.2662, allocations: 3.938 kB / 0.9519 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005818/0.2668, allocations: 115.6 kB / 0.952 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.453e-05/0.2669, allocations: 23.92 kB / 0.952 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.495e-05/0.2669, allocations: 0 / 0.952 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.384e-05/0.267, allocations: 11.94 kB / 0.952 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.192e-05/0.267, allocations: 11.92 kB / 0.952 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.267, allocations: 0 / 0.952 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002314/0.2672, allocations: 107.8 kB / 0.9521 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.2673, allocations: 4 kB / 0.9522 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.279e-05/0.2673, allocations: 15.92 kB / 0.9522 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.2675, allocations: 95.81 kB / 0.9523 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2675, allocations: 4 kB / 0.9523 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2676, allocations: 0 / 0.9523 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.2676, allocations: 0 / 0.9523 GB, free: 6.797 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.0005075/0.2681, allocations: 385.4 kB / 0.9526 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.2681, allocations: 12.03 kB / 0.9526 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.2682, allocations: 4.844 kB / 0.9526 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.2683, allocations: 164.4 kB / 0.9528 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.2683, allocations: 8.359 kB / 0.9528 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.2684, allocations: 8.375 kB / 0.9528 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.2685, allocations: 38.19 kB / 0.9529 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-06/0.2685, allocations: 192 / 0.9529 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.2685, allocations: 3.938 kB / 0.9529 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.2685, allocations: 7.875 kB / 0.9529 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.411e-05/0.2686, allocations: 4 kB / 0.9529 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.2687, allocations: 161.7 kB / 0.953 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.123e-05/0.2688, allocations: 22.58 kB / 0.953 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/0.2689, allocations: 24.94 kB / 0.9531 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.2689, allocations: 3.938 kB / 0.9531 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.269, allocations: 51.41 kB / 0.9531 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.269, allocations: 0 / 0.9531 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002245/0.2693, allocations: 73.52 kB / 0.9532 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.2693, allocations: 55.41 kB / 0.9532 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.468e-05/0.2694, allocations: 106 kB / 0.9533 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.2694, allocations: 29.7 kB / 0.9534 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.2695, allocations: 88.08 kB / 0.9535 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.2695, allocations: 7.844 kB / 0.9535 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.2695, allocations: 25.7 kB / 0.9535 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2697, allocations: 314.8 kB / 0.9538 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.588e-05/0.2697, allocations: 7.984 kB / 0.9538 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.404e-05/0.2698, allocations: 39.5 kB / 0.9538 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.204e-05/0.2698, allocations: 47.55 kB / 0.9539 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2698, allocations: 0 / 0.9539 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001037/0.27, allocations: 73.52 kB / 0.954 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.27, allocations: 12.03 kB / 0.954 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.27, allocations: 4 kB / 0.954 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.27, allocations: 0 / 0.954 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.86e-05/0.2701, allocations: 8 kB / 0.954 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2701, allocations: 3.938 kB / 0.954 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.6e-05/0.2701, allocations: 4 kB / 0.954 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.2702, allocations: 0 / 0.954 GB, free: 4.777 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 7.974e-05/0.2702, allocations: 119.8 kB / 0.9541 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.2703, allocations: 3.938 kB / 0.9541 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.2703, allocations: 11.91 kB / 0.9541 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.2703, allocations: 0 / 0.9541 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2703, allocations: 0 / 0.9541 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2703, allocations: 0 / 0.9541 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.2704, allocations: 153.7 kB / 0.9543 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2705, allocations: 3.938 kB / 0.9543 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.524e-05/0.2705, allocations: 7.984 kB / 0.9543 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2705, allocations: 3.938 kB / 0.9543 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.2705, allocations: 0 / 0.9543 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2705, allocations: 0 / 0.9543 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2705, allocations: 0 / 0.9543 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.2707, allocations: 96.95 kB / 0.9544 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.2707, allocations: 81.05 kB / 0.9544 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.2707, allocations: 11.94 kB / 0.9545 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.118e-05/0.2708, allocations: 0 / 0.9545 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/0.2708, allocations: 0 / 0.9545 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.2708, allocations: 0 / 0.9545 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.202e-05/0.2708, allocations: 91.27 kB / 0.9545 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2708, allocations: 0 / 0.9545 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002704/0.2711, allocations: 36 kB / 0.9546 GB, free: 4.066 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.0003243/0.2714, allocations: 168.1 kB / 0.9547 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.2716, allocations: 31.92 kB / 0.9548 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2716, allocations: 0 / 0.9548 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.975e-05/0.2716, allocations: 16.19 kB / 0.9548 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.2718, allocations: 6.5 kB / 0.9548 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000283/0.2721, allocations: 138.6 kB / 0.9549 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.2723, allocations: 0.6844 MB / 0.9556 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.671e-05/0.2724, allocations: 7.438 kB / 0.9556 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2724, allocations: 0 / 0.9556 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of Templates: time 0.003038/0.2754, allocations: 1.246 MB / 0.9568 GB, free: 1.727 MB / 0.7325 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