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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007112/0.007112, allocations: 102.1 kB / 15.73 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.001635/0.001635, allocations: 191.7 kB / 16.67 MB, free: 6.379 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.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.414/2.414, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 62.36 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2809, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002638/0.2836, allocations: 1.227 MB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000908/0.2845, allocations: 444.3 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.934e-05/0.2845, allocations: 4 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.2846, allocations: 0 / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.264e-05/0.2846, allocations: 3.938 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005874/0.2852, allocations: 111.6 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.653e-05/0.2853, allocations: 19.92 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.2853, allocations: 3.984 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.415e-05/0.2854, allocations: 12 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.923e-05/0.2854, allocations: 15.91 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.2854, allocations: 4 kB / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/0.2857, allocations: 103.8 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.2857, allocations: 3.984 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.2858, allocations: 11.94 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.286, allocations: 95.94 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.286, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.667e-06/0.286, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.286, allocations: 3.938 kB / 1.089 GB, free: 15.94 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.0005678/0.2866, allocations: 388 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.2867, allocations: 8.031 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.112e-05/0.2867, allocations: 34.75 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.2868, allocations: 4.938 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.2869, allocations: 176.7 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.2869, allocations: 4.375 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.287, allocations: 384 / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.2871, allocations: 42.25 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2871, allocations: 3.938 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.2871, allocations: 0 / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2871, allocations: 4 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.802e-05/0.2872, allocations: 7.984 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.2875, allocations: 253 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.668e-05/0.2876, allocations: 38.5 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.786e-05/0.2877, allocations: 16.86 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.2877, allocations: 4 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.2879, allocations: 63.48 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.2879, allocations: 0 / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002259/0.2881, allocations: 69.62 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.2882, allocations: 55.41 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.999e-05/0.2883, allocations: 113.8 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.2883, allocations: 25.7 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.2883, allocations: 92.12 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.2884, allocations: 11.89 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.2884, allocations: 21.72 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.2885, allocations: 318.8 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.2886, allocations: 4 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.809e-05/0.2886, allocations: 39.36 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.359e-05/0.2887, allocations: 55.36 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2887, allocations: 3.938 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001159/0.2888, allocations: 81.45 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2888, allocations: 4 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2888, allocations: 0 / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2889, allocations: 4 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.307e-05/0.2889, allocations: 8 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.289, allocations: 8.062 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.393e-05/0.289, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.289, allocations: 4 kB / 1.091 GB, free: 13.75 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.365e-05/0.2891, allocations: 121.8 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.2891, allocations: 3.906 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.2891, allocations: 3.969 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2892, allocations: 4 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2892, allocations: 7.875 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2892, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.2895, allocations: 307 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2895, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.376e-05/0.2895, allocations: 8 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2895, allocations: 64 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.2896, allocations: 4 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2896, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2896, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.2898, allocations: 163.4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.2898, allocations: 89.02 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.2899, allocations: 4 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.2899, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.29, allocations: 7.984 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.29, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.573e-05/0.29, allocations: 79.28 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3e-07/0.29, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003736/0.2904, allocations: 39.92 kB / 1.092 GB, free: 12.82 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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0007669/0.2912, allocations: 0.7678 MB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001244/0.2913, allocations: 27.98 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2913, allocations: 8 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.328e-05/0.2914, allocations: 23.98 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.2916, allocations: 8 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.2928, allocations: 1.284 MB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.2931, allocations: 0.6846 MB / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.888e-05/0.2931, allocations: 0 / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.2931, allocations: 15.44 kB / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.2931, allocations: 0 / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.3142, allocations: 2.125 MB / 1.097 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.498/8.812, allocations: 6.031 kB / 1.097 GB, free: 7.836 MB / 0.8575 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > 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