Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_latest_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.00891/0.00891, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.002062/0.002062, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.621/2.621, allocations: 469.4 MB / 0.7422 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 63.91 kB / 1.064 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8044/0.806, allocations: 159.1 MB / 1.22 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002247/0.8082, allocations: 1.224 MB / 1.221 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008542/0.8091, allocations: 446.5 kB / 1.221 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.877e-05/0.8092, allocations: 0 / 1.221 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.8092, allocations: 0 / 1.221 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.62e-05/0.8093, allocations: 3.938 kB / 1.221 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.8098, allocations: 119.6 kB / 1.221 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.262e-05/0.8099, allocations: 19.92 kB / 1.221 GB, free: 476 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.8099, allocations: 4 kB / 1.221 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.027e-05/0.8099, allocations: 8 kB / 1.221 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.799e-05/0.81, allocations: 11.91 kB / 1.221 GB, free: 452 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.81, allocations: 4 kB / 1.221 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.8102, allocations: 111.8 kB / 1.222 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.8102, allocations: 0 / 1.222 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.8103, allocations: 11.94 kB / 1.222 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.8105, allocations: 99.39 kB / 1.222 GB, free: 228 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.8105, allocations: 0 / 1.222 GB, free: 228 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8105, allocations: 0 / 1.222 GB, free: 228 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.8105, allocations: 0 / 1.222 GB, free: 228 kB / 0.9356 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.0004618/0.811, allocations: 395.4 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.811, allocations: 8.625 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.41e-05/0.8111, allocations: 38.75 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.8111, allocations: 8.922 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.782e-05/0.8112, allocations: 172.3 kB / 1.222 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.8112, allocations: 4.375 kB / 1.222 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.445e-06/0.8113, allocations: 384 / 1.222 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.666e-05/0.8114, allocations: 42.25 kB / 1.222 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.8114, allocations: 3.938 kB / 1.222 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.8114, allocations: 0 / 1.222 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.8114, allocations: 3.984 kB / 1.222 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.198e-05/0.8114, allocations: 11.94 kB / 1.222 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.8117, allocations: 248.9 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.809e-05/0.8118, allocations: 38.5 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.624e-05/0.8119, allocations: 12.86 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.8119, allocations: 4 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.8121, allocations: 63.48 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.8121, allocations: 0 / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.000213/0.8123, allocations: 77.56 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.8123, allocations: 55.41 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.228e-05/0.8124, allocations: 105.8 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.8124, allocations: 29.7 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.388e-05/0.8125, allocations: 80.14 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.8125, allocations: 15.88 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.8126, allocations: 25.72 kB / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.994e-05/0.8127, allocations: 318.8 kB / 1.223 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.16e-05/0.8127, allocations: 8 kB / 1.223 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.019e-05/0.8127, allocations: 35.42 kB / 1.223 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.171e-05/0.8128, allocations: 51.36 kB / 1.223 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.8128, allocations: 3.938 kB / 1.223 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001079/0.8129, allocations: 81.5 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.8129, allocations: 4 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.8129, allocations: 160 / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.813, allocations: 7.938 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.226e-05/0.813, allocations: 12 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.813, allocations: 7.969 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.609e-05/0.8131, allocations: 0 / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.8131, allocations: 8.562 kB / 1.224 GB, free: 14.02 MB / 0.9512 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 8.145e-05/0.8132, allocations: 118.3 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.8132, allocations: 3.953 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.8132, allocations: 11.91 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.8132, allocations: 0 / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.8132, allocations: 0 / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.8133, allocations: 4 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.8135, allocations: 298.6 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8135, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.946e-05/0.8136, allocations: 12 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.8136, allocations: 0 / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.8136, allocations: 3.984 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8136, allocations: 3.938 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.8136, allocations: 4 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.8138, allocations: 159.4 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.8138, allocations: 81.06 kB / 1.224 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.8138, allocations: 7.984 kB / 1.224 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.795e-05/0.8139, allocations: 4 kB / 1.224 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.008e-05/0.8139, allocations: 4 kB / 1.224 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.8139, allocations: 0 / 1.224 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.709e-05/0.814, allocations: 83.27 kB / 1.224 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.11e-07/0.814, allocations: 4 kB / 1.224 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002967/0.8143, allocations: 39.81 kB / 1.224 GB, free: 13.08 MB / 0.9512 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.000744/0.815, allocations: 0.7785 MB / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.8152, allocations: 31.92 kB / 1.225 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8152, allocations: 0 / 1.225 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.435e-05/0.8152, allocations: 19.98 kB / 1.225 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.8154, allocations: 4.125 kB / 1.225 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.8166, allocations: 1.298 MB / 1.226 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.8168, allocations: 0.6845 MB / 1.227 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.943e-05/0.8168, allocations: 0 / 1.227 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.8169, allocations: 23.42 kB / 1.227 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of SimCode: time 5.1e-07/0.8169, allocations: 0 / 1.227 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.8363, allocations: 2.104 MB / 1.229 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.664/8.501, allocations: 16.81 kB / 1.229 GB, free: 8.098 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches