Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009116/0.0009116, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9147/0.9147, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.778/1.778, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.9504 GB, free: 3.551 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.785e-05, allocations: 5.375 kB / 0.9505 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.00254/0.002568, allocations: 1.243 MB / 0.9517 GB, free: 2.285 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007069/0.003275, allocations: 403.2 kB / 0.952 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.003305, allocations: 3.938 kB / 0.9521 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.003324, allocations: 0 / 0.9521 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.265e-05/0.003367, allocations: 3.984 kB / 0.9521 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005577/0.003924, allocations: 111.5 kB / 0.9522 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.19e-05/0.003986, allocations: 19.92 kB / 0.9522 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.004027, allocations: 4 kB / 0.9522 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.688e-05/0.004064, allocations: 7.984 kB / 0.9522 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.875e-05/0.004092, allocations: 4 kB / 0.9522 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.004108, allocations: 0 / 0.9522 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.004337, allocations: 135.7 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.004352, allocations: 7.938 kB / 0.9523 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.00438, allocations: 7.984 kB / 0.9523 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.004558, allocations: 95.8 kB / 0.9524 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.004563, allocations: 3.984 kB / 0.9524 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.933e-06/0.004565, allocations: 4 kB / 0.9524 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.289e-06/0.004569, allocations: 3.938 kB / 0.9524 GB, free: 1.484 MB / 0.9011 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.0003982/0.004967, allocations: 274.1 kB / 0.9527 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.005009, allocations: 11.97 kB / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.963e-05/0.005069, allocations: 38.73 kB / 0.9528 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.005099, allocations: 8.891 kB / 0.9528 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.474e-05/0.005174, allocations: 105.8 kB / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.005183, allocations: 384 / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.005194, allocations: 4.375 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.005294, allocations: 42.19 kB / 0.9529 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.005301, allocations: 4.188 kB / 0.9529 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.00531, allocations: 384 / 0.9529 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.005317, allocations: 8.125 kB / 0.9529 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.415e-05/0.005341, allocations: 11.97 kB / 0.9529 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.005633, allocations: 204.1 kB / 0.9531 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.45e-05/0.005707, allocations: 34.56 kB / 0.9532 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/0.005741, allocations: 24.88 kB / 0.9532 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.447e-06/0.005751, allocations: 0 / 0.9532 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.005903, allocations: 59.34 kB / 0.9532 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.005904, allocations: 0 / 0.9532 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of matching and sorting (n=5): time 0.0001859/0.00609, allocations: 77.67 kB / 0.9533 GB, free: 460 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.006128, allocations: 55.34 kB / 0.9534 GB, free: 392 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.559e-05/0.006184, allocations: 105.8 kB / 0.9535 GB, free: 276 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.006194, allocations: 25.7 kB / 0.9535 GB, free: 244 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.706e-05/0.006221, allocations: 88.14 kB / 0.9536 GB, free: 152 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.006236, allocations: 7.891 kB / 0.9536 GB, free: 144 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.006268, allocations: 21.72 kB / 0.9536 GB, free: 116 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.006359, allocations: 318.8 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.006379, allocations: 8.25 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.172e-05/0.00641, allocations: 43.42 kB / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 9.915e-05/0.00651, allocations: 67.36 kB / 0.954 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.006512, allocations: 0 / 0.954 GB, free: 15.65 MB / 0.9167 GB Warning: The linear system: 1 : $PRE.$outputAlias_y = $outputAlias_y 2 : $outputAlias_y = $PRE.$outputAlias_y [ -1.0 , 1.0 ; 1.0 , -1.0 ] * [ $outputAlias_y ; $PRE.$outputAlias_y ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable $PRE.$outputAlias_y since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002889/0.006801, allocations: 109.8 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.006815, allocations: 8 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.006821, allocations: 4.062 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.061e-05/0.006902, allocations: 16.84 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.067e-05/0.006963, allocations: 8 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008203/0.007783, allocations: 1.363 MB / 0.9555 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.567e-05/0.007809, allocations: 8.031 kB / 0.9555 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.007816, allocations: 3.938 kB / 0.9555 GB, free: 14.01 MB / 0.9167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: y = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (curSeed,$PRE.curSeed,$whenCondition1,y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.519e-05/0.007911, allocations: 118.1 kB / 0.9556 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.007922, allocations: 11.83 kB / 0.9556 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.558e-05/0.007938, allocations: 11.81 kB / 0.9556 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.007939, allocations: 3.938 kB / 0.9556 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.007941, allocations: 0 / 0.9556 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.007945, allocations: 0 / 0.9556 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.008126, allocations: 269.6 kB / 0.9559 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.008128, allocations: 0 / 0.9559 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.451e-05/0.008142, allocations: 7.984 kB / 0.9559 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.008144, allocations: 64 / 0.9559 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.008157, allocations: 16 kB / 0.9559 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.008158, allocations: 0 / 0.9559 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008159, allocations: 0 / 0.9559 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.262e-05/0.008242, allocations: 159.4 kB / 0.9561 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.104e-06/0.008249, allocations: 11.94 kB / 0.9561 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.093e-06/0.008256, allocations: 4 kB / 0.9561 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.288e-05/0.008289, allocations: 0 / 0.9561 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.008308, allocations: 4 kB / 0.9561 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.008314, allocations: 0 / 0.9561 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.746e-05/0.008341, allocations: 83.27 kB / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008341, allocations: 0 / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002622/0.008603, allocations: 39.88 kB / 0.9562 GB, free: 13.21 MB / 0.9167 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,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.0005656/0.009169, allocations: 0.7746 MB / 0.957 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000262/0.009431, allocations: 142.6 kB / 0.9571 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.009434, allocations: 3.938 kB / 0.9571 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.537e-05/0.009459, allocations: 20.11 kB / 0.9571 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.009618, allocations: 7.938 kB / 0.9571 GB, free: 12.23 MB / 0.9167 GB Warning: The linear system: 1 : $PRE.$outputAlias_y = $outputAlias_y 2 : $outputAlias_y = $PRE.$outputAlias_y [ 1.0 , -1.0 ; -1.0 , 1.0 ] * [ $PRE.$outputAlias_y ; $outputAlias_y ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable $outputAlias_y since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.01077, allocations: 1.335 MB / 0.9584 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.107e-05/0.01083, allocations: 71.33 kB / 0.9585 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.235e-05/0.01085, allocations: 4 kB / 0.9585 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.01089, allocations: 8.5 kB / 0.9585 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of SimCode: time 1.603e-06/0.01089, allocations: 0 / 0.9585 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.03096, allocations: 2.788 MB / 0.9612 GB, free: 8.043 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.501/7.532, allocations: 7.812 kB / 0.9612 GB, free: 8.039 MB / 0.9167 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.852015185169876]