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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_10_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.004083/0.004083, allocations: 96.19 kB / 15.73 MB, free: 6.043 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.001157/0.001157, allocations: 204.2 kB / 16.68 MB, free: 5.969 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.449/2.449, allocations: 437.1 MB / 0.7106 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 67.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3055, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002147/0.3077, allocations: 1.225 MB / 1.167 GB, free: 6.062 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008841/0.3086, allocations: 450.8 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.3086, allocations: 0 / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.3086, allocations: 3.938 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.437e-05/0.3087, allocations: 0 / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005208/0.3092, allocations: 119.6 kB / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.898e-05/0.3093, allocations: 23.92 kB / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.3093, allocations: 0 / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.319e-05/0.3094, allocations: 7.938 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.604e-05/0.3094, allocations: 11.98 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.3094, allocations: 0 / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.3096, allocations: 99.89 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.3097, allocations: 15.92 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.3097, allocations: 11.92 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.3099, allocations: 103.9 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3099, allocations: 4 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3099, allocations: 0 / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.3099, allocations: 0 / 1.168 GB, free: 5.227 MB / 0.92 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.0005338/0.3105, allocations: 388.8 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3105, allocations: 12.03 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.299e-05/0.3106, allocations: 34.73 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.526e-05/0.3106, allocations: 0.9375 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.3108, allocations: 172.3 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.3108, allocations: 384 / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.3108, allocations: 8.375 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.3109, allocations: 46.23 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.311, allocations: 7.875 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.311, allocations: 0 / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.311, allocations: 0 / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.313e-05/0.311, allocations: 4 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.3114, allocations: 244.9 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.82e-05/0.3115, allocations: 46.5 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.356e-05/0.3115, allocations: 16.94 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.3116, allocations: 3.938 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.3117, allocations: 63.34 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.3117, allocations: 0 / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002224/0.3119, allocations: 73.67 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.312, allocations: 55.41 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.798e-05/0.3121, allocations: 109.8 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.227e-05/0.3122, allocations: 29.7 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.3122, allocations: 80.14 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.3123, allocations: 15.89 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.3123, allocations: 21.7 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3124, allocations: 318.8 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.3125, allocations: 4 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.85e-05/0.3125, allocations: 39.42 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.872e-05/0.3126, allocations: 51.36 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3126, allocations: 3.938 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001054/0.3127, allocations: 73.56 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3127, allocations: 12.06 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3127, allocations: 0 / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.3128, allocations: 0 / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.726e-05/0.3128, allocations: 11.98 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3128, allocations: 3.938 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.687e-05/0.3129, allocations: 8 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/0.3129, allocations: 4 kB / 1.17 GB, free: 3.035 MB / 0.92 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 7.81e-05/0.313, allocations: 113.7 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.313, allocations: 7.953 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.313, allocations: 11.97 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3131, allocations: 0 / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3131, allocations: 3.984 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.3131, allocations: 0 / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.3134, allocations: 307 kB / 1.17 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.3134, allocations: 4 kB / 1.17 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.659e-05/0.3134, allocations: 3.984 kB / 1.17 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3134, allocations: 0 / 1.17 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.3134, allocations: 8 kB / 1.17 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3134, allocations: 0 / 1.17 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3134, allocations: 4 kB / 1.17 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.3136, allocations: 167.4 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.008e-05/0.3137, allocations: 81.06 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.3137, allocations: 4 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.999e-05/0.3138, allocations: 0 / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.3138, allocations: 4 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.3138, allocations: 4 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.058e-05/0.3138, allocations: 91.2 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3139, allocations: 0 / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002744/0.3141, allocations: 35.88 kB / 1.171 GB, free: 2.094 MB / 0.92 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.0008469/0.315, allocations: 0.773 MB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.3151, allocations: 32.42 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3151, allocations: 0 / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.071e-05/0.3152, allocations: 16 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.3154, allocations: 4.094 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.3167, allocations: 1.292 MB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.317, allocations: 0.6807 MB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.179e-05/0.317, allocations: 7.984 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.3171, allocations: 11.44 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of SimCode: time 3.547e-06/0.3171, allocations: 0 / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7751/1.092, allocations: 2.112 MB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.72, allocations: 3.953 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches