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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.298/2.298, allocations: 443.5 MB / 0.7304 GB, free: 13.97 MB / 0.5762 GB " [Timeout remaining time 177] 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.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 63.89 kB / 1.059 GB, free: 1.062 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.26, allocations: 160.7 MB / 1.216 GB, free: 32 kB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002043/0.262, allocations: 1.221 MB / 1.217 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007371/0.2628, allocations: 422.6 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.84e-05/0.2628, allocations: 0 / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.2628, allocations: 0 / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.047e-05/0.2628, allocations: 4 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.2632, allocations: 99.62 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.152e-05/0.2633, allocations: 12 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.258e-05/0.2633, allocations: 8 kB / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.032e-05/0.2633, allocations: 7.984 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.399e-05/0.2634, allocations: 7.938 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.2634, allocations: 3.938 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.2636, allocations: 103.9 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.2636, allocations: 4 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.2636, allocations: 7.938 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.2638, allocations: 84.09 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2638, allocations: 0 / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2638, allocations: 3.938 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2638, allocations: 4 kB / 1.217 GB, free: 14.04 MB / 0.9669 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.0004268/0.2642, allocations: 355.2 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.2642, allocations: 11.97 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.2643, allocations: 34.73 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.2643, allocations: 8.891 kB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.2644, allocations: 164.3 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.2644, allocations: 384 / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.2644, allocations: 8.375 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.2645, allocations: 42.25 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.2646, allocations: 3.938 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.2646, allocations: 4 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.2646, allocations: 0 / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.063e-05/0.2646, allocations: 15.92 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.2649, allocations: 241 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.4e-05/0.265, allocations: 34.5 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.265, allocations: 20.86 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-06/0.265, allocations: 0 / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001162/0.2651, allocations: 59.42 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.2651, allocations: 0 / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0001795/0.2653, allocations: 69.69 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.2653, allocations: 55.41 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.81e-05/0.2654, allocations: 105.8 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.2654, allocations: 25.7 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.2654, allocations: 84.09 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.2655, allocations: 11.95 kB / 1.219 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.2655, allocations: 21.7 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.2656, allocations: 314.8 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.279e-05/0.2656, allocations: 11.98 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.01e-05/0.2657, allocations: 39.38 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.237e-05/0.2657, allocations: 51.59 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2658, allocations: 7.875 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001003/0.2659, allocations: 73.52 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.2659, allocations: 4 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2659, allocations: 4.062 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.659e-06/0.2659, allocations: 4 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.718e-05/0.2659, allocations: 11.98 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.2659, allocations: 0 / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.72e-05/0.266, allocations: 7.938 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.266, allocations: 4 kB / 1.219 GB, free: 11.9 MB / 0.9669 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.261e-05/0.266, allocations: 117.7 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.487e-06/0.2661, allocations: 3.938 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.057e-05/0.2661, allocations: 11.56 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2661, allocations: 4 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2661, allocations: 3.984 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2661, allocations: 0 / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.2663, allocations: 302.5 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2663, allocations: 320 / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.923e-05/0.2663, allocations: 4 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2664, allocations: 3.938 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.2664, allocations: 7.984 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.2664, allocations: 0 / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2664, allocations: 0 / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.2665, allocations: 168.2 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.2665, allocations: 77.11 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.2666, allocations: 3.984 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.957e-05/0.2666, allocations: 4 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.2666, allocations: 4 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.2666, allocations: 0 / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.761e-05/0.2667, allocations: 79.28 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.2667, allocations: 0 / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002566/0.2669, allocations: 39.86 kB / 1.22 GB, free: 10.98 MB / 0.9669 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.0006712/0.2676, allocations: 0.7815 MB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.67e-05/0.2677, allocations: 35.92 kB / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.2677, allocations: 0 / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.028e-05/0.2677, allocations: 12 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.2679, allocations: 3.984 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009992/0.2689, allocations: 1.265 MB / 1.222 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.2692, allocations: 0.6729 MB / 1.223 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.926e-05/0.2692, allocations: 7.984 kB / 1.223 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/0.2692, allocations: 11.44 kB / 1.223 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.2692, allocations: 0 / 1.223 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.2912, allocations: 1.951 MB / 1.225 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.138/7.429, allocations: 18.17 kB / 1.225 GB, free: 6.184 MB / 0.9669 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.csv","/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) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:time,y [Calling sys.exit(0), Time elapsed: 12.60765738900227]