Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.00121/0.00121, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.01061/0.01061, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.48/1.48, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.781/2.781, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003736, allocations: 8 kB / 0.8728 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7771/0.7775, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001705/0.7793, allocations: 0.9564 MB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008938/0.7802, allocations: 446.8 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.7803, allocations: 3.938 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.391e-05/0.7803, allocations: 0 / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.136e-05/0.7803, allocations: 0 / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.7808, allocations: 91.72 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.049e-05/0.7809, allocations: 23.92 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.972e-05/0.781, allocations: 0 / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.977e-05/0.781, allocations: 11.92 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.002e-05/0.7811, allocations: 11.94 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.7811, allocations: 0 / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.7813, allocations: 103.8 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.7814, allocations: 3.984 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.7814, allocations: 41.62 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.7816, allocations: 95.81 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7816, allocations: 4 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7816, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.7816, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.7794 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.0004752/0.7821, allocations: 375.2 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.7822, allocations: 11.97 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.7822, allocations: 8.844 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.7823, allocations: 172.3 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.7824, allocations: 8.375 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.7824, allocations: 384 / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.7825, allocations: 42.19 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.7825, allocations: 192 / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.7826, allocations: 7.938 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.7826, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.275e-05/0.7826, allocations: 7.984 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.7828, allocations: 157.7 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.028e-05/0.7829, allocations: 26.56 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.112e-05/0.7829, allocations: 12.86 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-06/0.7829, allocations: 4 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.7831, allocations: 59.44 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.7831, allocations: 0 / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002172/0.7833, allocations: 73.52 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.7834, allocations: 51.41 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.65e-05/0.7834, allocations: 105.8 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.7835, allocations: 29.7 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.7835, allocations: 88.14 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.7835, allocations: 7.891 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.7836, allocations: 17.72 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.7837, allocations: 314.8 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.7837, allocations: 11.98 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.574e-05/0.7838, allocations: 31.44 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.7e-05/0.7838, allocations: 47.36 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7839, allocations: 0 / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001131/0.784, allocations: 73.73 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.784, allocations: 7.938 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.784, allocations: 4 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.784, allocations: 4.344 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.568e-05/0.7841, allocations: 8 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.7841, allocations: 7.938 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.154e-05/0.7842, allocations: 11.89 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.7842, allocations: 7.938 kB / 1.026 GB, free: 12.06 MB / 0.7794 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.649e-05/0.7842, allocations: 110.4 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.978e-06/0.7843, allocations: 3.938 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.7843, allocations: 7.906 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.7843, allocations: 4 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.7843, allocations: 4 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7843, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.7844, allocations: 161.6 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7844, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.195e-05/0.7845, allocations: 4 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.7845, allocations: 3.938 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.7845, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.7845, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.7845, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.7846, allocations: 96.95 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.7847, allocations: 77.11 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.7847, allocations: 3.938 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.992e-05/0.7847, allocations: 0 / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.7848, allocations: 4 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.7848, allocations: 3.984 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.8e-05/0.7848, allocations: 83.28 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7848, allocations: 0 / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002544/0.7851, allocations: 35.98 kB / 1.027 GB, free: 11.37 MB / 0.7794 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.0003284/0.7854, allocations: 172.3 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.7855, allocations: 27.92 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7855, allocations: 0 / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.703e-05/0.7856, allocations: 12 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.7857, allocations: 12.83 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.786, allocations: 111.9 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.7863, allocations: 0.6809 MB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.882e-05/0.7863, allocations: 0 / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.52e-05/0.7863, allocations: 11.44 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of SimCode: time 1.804e-06/0.7863, allocations: 0 / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of Templates: time 0.003563/0.7899, allocations: 1.074 MB / 1.029 GB, free: 9.219 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches