Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.WeibullVariableGeneration,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",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.001162/0.001162, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001145/0.001145, allocations: 193.2 kB / 16.14 MB, free: 6.648 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.163/1.163, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.399/2.399, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 55.91 kB / 0.8686 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7081/0.7096, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002301/0.7119, allocations: 1.276 MB / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008879/0.7128, allocations: 418.7 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.258e-05/0.7129, allocations: 0 / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.964e-05/0.7129, allocations: 0 / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.549e-05/0.7129, allocations: 4 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.7134, allocations: 79.78 kB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.512e-05/0.7135, allocations: 11.98 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.7135, allocations: 0 / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.355e-05/0.7136, allocations: 11.94 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.756e-05/0.7136, allocations: 11.98 kB / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.7136, allocations: 0 / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.7138, allocations: 91.84 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.7138, allocations: 4 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.7139, allocations: 15.91 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.714, allocations: 79.83 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7141, allocations: 0 / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.975e-06/0.7141, allocations: 3.938 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.7141, allocations: 3.938 kB / 1.019 GB, free: 0.7852 MB / 0.7637 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.0004871/0.7146, allocations: 355.5 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.7146, allocations: 12.02 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.092e-05/0.7147, allocations: 33 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.7147, allocations: 8.844 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.7148, allocations: 160.4 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-06/0.7149, allocations: 384 / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.7149, allocations: 4.375 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.715, allocations: 42.23 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.715, allocations: 7.938 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.715, allocations: 0 / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.715, allocations: 4 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.052e-05/0.7151, allocations: 7.938 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.7154, allocations: 252.9 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.471e-05/0.7155, allocations: 34.5 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.7155, allocations: 16.86 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.7155, allocations: 4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.7157, allocations: 63.42 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.7157, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001798/0.7159, allocations: 73.67 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.7159, allocations: 51.41 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.026e-05/0.716, allocations: 101.8 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.716, allocations: 25.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.716, allocations: 88.14 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.7161, allocations: 23.72 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.7161, allocations: 21.72 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.7162, allocations: 310.8 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.7162, allocations: 11.98 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.242e-05/0.7163, allocations: 35.38 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.718e-05/0.7163, allocations: 51.42 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.7163, allocations: 3.938 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001068/0.7164, allocations: 73.55 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.7165, allocations: 8 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.7165, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.7165, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.708e-05/0.7165, allocations: 8.062 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.7166, allocations: 8 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.583e-05/0.7166, allocations: 3.906 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.7166, allocations: 8 kB / 1.02 GB, free: 14.65 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 (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.946e-05/0.7167, allocations: 118.2 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.7167, allocations: 7.984 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.3e-05/0.7167, allocations: 7.562 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.7167, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.7168, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.7168, allocations: 4 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.717, allocations: 294.6 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.717, allocations: 3.984 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/0.717, allocations: 4.312 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.717, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.7171, allocations: 11.88 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.7171, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.7171, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.7172, allocations: 171.4 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.7173, allocations: 77.11 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.7173, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.241e-05/0.7173, allocations: 8 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/0.7174, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.7174, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.508e-05/0.7174, allocations: 83.55 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7174, allocations: 0 / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002722/0.7177, allocations: 31.94 kB / 1.021 GB, free: 13.74 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,$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.0006511/0.7184, allocations: 0.7681 MB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.896e-05/0.7185, allocations: 31.92 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7185, allocations: 4.125 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.572e-05/0.7185, allocations: 19.98 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.7187, allocations: 0.9375 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009919/0.7197, allocations: 1.263 MB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.72, allocations: 0.6809 MB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.243e-05/0.72, allocations: 3.984 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.72, allocations: 11.44 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.72, allocations: 0 / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.505/2.225, allocations: 1.815 MB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003083/2.226, allocations: 270.3 kB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.689/5.915, allocations: 0 / 1.026 GB, free: 8.801 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:k,lambda,seed,time,y