Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.0008775/0.0008775, 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.001029/0.001029, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.9458/0.9458, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.782/1.782, allocations: 359 MB / 0.6037 GB, free: 11.11 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.Weibull1DON,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.9505 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.465e-05, allocations: 2.281 kB / 0.9505 GB, free: 2.402 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001477/0.001492, allocations: 1.25 MB / 0.9517 GB, free: 1.137 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0006918/0.002184, allocations: 447 kB / 0.9521 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.011e-05/0.002214, allocations: 0 / 0.9521 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.002234, allocations: 0 / 0.9521 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.154e-05/0.002276, allocations: 0 / 0.9521 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005631/0.002839, allocations: 131.4 kB / 0.9522 GB, free: 0.5703 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.813e-05/0.002907, allocations: 19.92 kB / 0.9522 GB, free: 0.5508 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/0.002945, allocations: 11.98 kB / 0.9523 GB, free: 0.5391 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.581e-05/0.002981, allocations: 7.984 kB / 0.9523 GB, free: 0.5312 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.455e-05/0.003006, allocations: 4 kB / 0.9523 GB, free: 0.5273 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.003021, allocations: 0 / 0.9523 GB, free: 0.5273 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.003238, allocations: 143.7 kB / 0.9524 GB, free: 396 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.003252, allocations: 11.81 kB / 0.9524 GB, free: 384 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.003277, allocations: 7.984 kB / 0.9524 GB, free: 376 kB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.003443, allocations: 123.6 kB / 0.9525 GB, free: 252 kB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.003445, allocations: 4 kB / 0.9525 GB, free: 248 kB / 0.8542 GB Notification: Performance of FrontEnd: time 7.22e-07/0.003446, allocations: 4 kB / 0.9526 GB, free: 244 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.00345, allocations: 0 / 0.9526 GB, free: 244 kB / 0.8542 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.0003831/0.003833, allocations: 307.7 kB / 0.9528 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.003868, allocations: 12.03 kB / 0.9529 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.339e-05/0.003921, allocations: 34.7 kB / 0.9529 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.003945, allocations: 4.938 kB / 0.9529 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.004107, allocations: 109.7 kB / 0.953 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.004127, allocations: 8.375 kB / 0.953 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.004134, allocations: 384 / 0.953 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.677e-05/0.004221, allocations: 38.25 kB / 0.953 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.004229, allocations: 8.125 kB / 0.9531 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.004237, allocations: 384 / 0.9531 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.004242, allocations: 4.125 kB / 0.9531 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.702e-05/0.004269, allocations: 15.98 kB / 0.9531 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002673/0.004537, allocations: 212.1 kB / 0.9533 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.513e-05/0.004612, allocations: 30.56 kB / 0.9533 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.00464, allocations: 24.92 kB / 0.9533 GB, free: 15.31 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.004648, allocations: 0 / 0.9533 GB, free: 15.31 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.00478, allocations: 67.28 kB / 0.9534 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 1.402e-06/0.004782, allocations: 0 / 0.9534 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5): time 0.0001797/0.004961, allocations: 73.67 kB / 0.9535 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.005, allocations: 55.41 kB / 0.9535 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.831e-05/0.005058, allocations: 106.1 kB / 0.9536 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.005069, allocations: 25.7 kB / 0.9536 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.005103, allocations: 88.09 kB / 0.9537 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.005118, allocations: 19.77 kB / 0.9537 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.005149, allocations: 25.7 kB / 0.9538 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.263e-05/0.005232, allocations: 314.8 kB / 0.9541 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.005251, allocations: 12.23 kB / 0.9541 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.255e-05/0.005283, allocations: 39.44 kB / 0.9541 GB, free: 14.43 MB / 0.8698 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 0.000102/0.005385, allocations: 63.36 kB / 0.9542 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.005387, allocations: 0 / 0.9542 GB, free: 14.35 MB / 0.8698 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.0002704/0.005658, allocations: 108.7 kB / 0.9543 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.005672, allocations: 11.94 kB / 0.9543 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.005678, allocations: 4.062 kB / 0.9543 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.531e-05/0.005764, allocations: 12.86 kB / 0.9543 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.416e-05/0.005818, allocations: 8.094 kB / 0.9543 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007929/0.006611, allocations: 1.378 MB / 0.9557 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/0.006632, allocations: 3.953 kB / 0.9557 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.00664, allocations: 4 kB / 0.9557 GB, free: 12.7 MB / 0.8698 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 7.995e-05/0.00672, allocations: 118 kB / 0.9558 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-06/0.006728, allocations: 3.938 kB / 0.9558 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.258e-05/0.00674, allocations: 8.125 kB / 0.9558 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.006742, allocations: 0 / 0.9558 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.006743, allocations: 0 / 0.9558 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.006748, allocations: 3.984 kB / 0.9558 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.006935, allocations: 277.6 kB / 0.9561 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.006937, allocations: 0 / 0.9561 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.939e-06/0.006947, allocations: 64 / 0.9561 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.00695, allocations: 8 kB / 0.9561 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.006957, allocations: 4 kB / 0.9561 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.006958, allocations: 0 / 0.9561 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006959, allocations: 0 / 0.9561 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.294e-05/0.007052, allocations: 171.4 kB / 0.9562 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.007059, allocations: 7.938 kB / 0.9562 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-06/0.007066, allocations: 4 kB / 0.9562 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.868e-05/0.007095, allocations: 0 / 0.9562 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.007115, allocations: 3.984 kB / 0.9563 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.007123, allocations: 4 kB / 0.9563 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.585e-05/0.007159, allocations: 83.28 kB / 0.9563 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.007159, allocations: 0 / 0.9563 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002373/0.007396, allocations: 39.86 kB / 0.9564 GB, free: 11.9 MB / 0.8698 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.0005073/0.007904, allocations: 0.7956 MB / 0.9572 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.008133, allocations: 143 kB / 0.9573 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.008134, allocations: 0 / 0.9573 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.547e-05/0.00816, allocations: 20.05 kB / 0.9573 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.008298, allocations: 8 kB / 0.9573 GB, free: 10.92 MB / 0.8698 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.0009039/0.009202, allocations: 1.366 MB / 0.9586 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5e-05/0.009252, allocations: 71.2 kB / 0.9587 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.452e-05/0.009267, allocations: 0 / 0.9587 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.009295, allocations: 20.48 kB / 0.9587 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of SimCode: time 4.61e-07/0.009296, allocations: 0 / 0.9587 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.02506, allocations: 2.922 MB / 0.9616 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.376/7.401, allocations: 5.391 kB / 0.9616 GB, free: 6.535 MB / 0.8698 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_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_Weibull1DON.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.66205888055265]