Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.001793/0.001793, allocations: 106.9 kB / 16.45 MB, free: 6.453 MB / 14.72 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.002062/0.002062, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.526/1.526, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.193/3.193, allocations: 0.49 GB / 0.7916 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 70.52 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3203, allocations: 176.1 MB / 1.321 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001884/0.3222, allocations: 0.7129 MB / 1.322 GB, free: 2.586 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.3232, allocations: 0.8358 MB / 1.322 GB, free: 1.738 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/0.3232, allocations: 0 / 1.322 GB, free: 1.738 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.976e-05/0.3233, allocations: 3.938 kB / 1.322 GB, free: 1.734 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.75e-05/0.3233, allocations: 7.922 kB / 1.322 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001058/0.3235, allocations: 19.97 kB / 1.322 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.357e-05/0.3235, allocations: 39.86 kB / 1.322 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.3236, allocations: 15.98 kB / 1.322 GB, free: 1.652 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.514e-05/0.3237, allocations: 15.88 kB / 1.322 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.295e-05/0.3238, allocations: 27.91 kB / 1.322 GB, free: 1.609 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.3238, allocations: 4 kB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/0.3238, allocations: 8 kB / 1.323 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.3238, allocations: 4 kB / 1.323 GB, free: 1.594 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.3238, allocations: 19.86 kB / 1.323 GB, free: 1.574 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.324, allocations: 44.08 kB / 1.323 GB, free: 1.531 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.324, allocations: 0 / 1.323 GB, free: 1.531 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.412e-06/0.324, allocations: 0 / 1.323 GB, free: 1.531 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.324, allocations: 0 / 1.323 GB, free: 1.531 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005467/0.3245, allocations: 363.3 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3246, allocations: 19.97 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.3246, allocations: 38.69 kB / 1.323 GB, free: 1.059 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.136e-05/0.3246, allocations: 0.9375 kB / 1.323 GB, free: 1.059 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.3248, allocations: 172.3 kB / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.567e-06/0.3248, allocations: 384 / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.3248, allocations: 384 / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.325, allocations: 78.14 kB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.325, allocations: 3.938 kB / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.3251, allocations: 0 / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.3251, allocations: 4 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000304/0.3254, allocations: 59.94 kB / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.3257, allocations: 264.9 kB / 1.324 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.3259, allocations: 66.47 kB / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.3261, allocations: 32.92 kB / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.3261, allocations: 3.984 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.3261, allocations: 34.56 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3262, allocations: 0 / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0006792/0.3268, allocations: 129.5 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.3269, allocations: 55.34 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.327, allocations: 109.8 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.327, allocations: 29.7 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.327, allocations: 88.11 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.3271, allocations: 19.84 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.3271, allocations: 13.72 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3272, allocations: 314.8 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.3274, allocations: 35.95 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.3275, allocations: 23.97 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.3279, allocations: 76.72 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3279, allocations: 0 / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003469/0.3282, allocations: 97.91 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3282, allocations: 4 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3282, allocations: 4 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3282, allocations: 12.02 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.3284, allocations: 15.92 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3284, allocations: 0 / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.895e-05/0.3285, allocations: 11.98 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.3285, allocations: 0 / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.016e-05/0.3286, allocations: 119.5 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.3286, allocations: 3.953 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004004/0.329, allocations: 105.5 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.329, allocations: 3.984 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.329, allocations: 0 / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.329, allocations: 0 / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.3292, allocations: 177.5 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3292, allocations: 4 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.3293, allocations: 19.98 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3293, allocations: 3.938 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3293, allocations: 0 / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3293, allocations: 3.984 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3293, allocations: 0 / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/0.3297, allocations: 199.4 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.3298, allocations: 81.06 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.3298, allocations: 0 / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.3299, allocations: 15.97 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.3299, allocations: 7.938 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.3299, allocations: 4 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.902e-05/0.33, allocations: 87.27 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.33, allocations: 0 / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002252/0.3302, allocations: 8 kB / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0007356/0.331, allocations: 0.7319 MB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003566/0.3313, allocations: 67.92 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3313, allocations: 4 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.3315, allocations: 35.91 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.3318, allocations: 4 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000459/0.3323, allocations: 158.2 kB / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.3326, allocations: 0.6807 MB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.704e-05/0.3326, allocations: 3.984 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.3326, allocations: 11.44 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3326, allocations: 0 / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.3613, allocations: 1.633 MB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.057/8.419, allocations: 9.078 kB / 1.329 GB, free: 10.89 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable min1.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv. Warning: Get data of variable min1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv failed! Error: Could not read variable min1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv. Warning: Get data of variable min1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.235949910013005]