Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001287/0.001287, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001398/0.001398, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.469/1.469, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.393/3.393, allocations: 0.49 GB / 0.7916 GB, free: 33.36 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.Max,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Max",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.002085/0.002085, allocations: 65.97 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3516, allocations: 176.1 MB / 1.321 GB, free: 3.238 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002066/0.3536, allocations: 0.716 MB / 1.322 GB, free: 2.527 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009923/0.3546, allocations: 0.8319 MB / 1.322 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.014e-05/0.3547, allocations: 4 kB / 1.322 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.3547, allocations: 7.938 kB / 1.322 GB, free: 1.672 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.375e-05/0.3548, allocations: 11.92 kB / 1.322 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.789e-05/0.3549, allocations: 7.984 kB / 1.322 GB, free: 1.652 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.906e-05/0.355, allocations: 47.84 kB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3551, allocations: 12 kB / 1.322 GB, free: 1.594 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.15e-05/0.3551, allocations: 23.86 kB / 1.322 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.017e-05/0.3552, allocations: 19.92 kB / 1.323 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3552, allocations: 0 / 1.323 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.3552, allocations: 4 kB / 1.323 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.3552, allocations: 15.98 kB / 1.323 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.3553, allocations: 15.88 kB / 1.323 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.873e-05/0.3554, allocations: 48.08 kB / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3554, allocations: 0 / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3554, allocations: 0 / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.3554, allocations: 0 / 1.323 GB, free: 1.469 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.000582/0.356, allocations: 363.3 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.356, allocations: 11.98 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.3561, allocations: 30.75 kB / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.3561, allocations: 8.938 kB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.3563, allocations: 176.3 kB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.3563, allocations: 4.375 kB / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.3563, allocations: 384 / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.3566, allocations: 70.16 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3566, allocations: 7.938 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3566, allocations: 0 / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.3566, allocations: 0 / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.3569, allocations: 71.91 kB / 1.323 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.3573, allocations: 264.9 kB / 1.324 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.3576, allocations: 58.48 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.3577, allocations: 36.91 kB / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.3578, allocations: 0 / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.3578, allocations: 30.56 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.3578, allocations: 4 kB / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0006168/0.3584, allocations: 141.5 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.3585, allocations: 51.41 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.3586, allocations: 109.8 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.3586, allocations: 29.64 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.3587, allocations: 88.14 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.3587, allocations: 11.89 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.3587, allocations: 17.72 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3589, allocations: 318.8 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.359, allocations: 31.97 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.3592, allocations: 31.95 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.3595, allocations: 76.72 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3595, allocations: 0 / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003558/0.3598, allocations: 93.62 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3598, allocations: 4 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3599, allocations: 0 / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3599, allocations: 3.938 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.36, allocations: 23.98 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.36, allocations: 0 / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.246e-05/0.3601, allocations: 11.98 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.3601, allocations: 3.984 kB / 1.325 GB, free: 15.09 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 0.0001039/0.3602, allocations: 113.8 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.3602, allocations: 7.953 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003973/0.3606, allocations: 109.5 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3606, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3606, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3606, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.3609, allocations: 173.5 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3609, allocations: 0 / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.361, allocations: 23.91 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.361, allocations: 0 / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.361, allocations: 4 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.361, allocations: 0 / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.361, allocations: 0 / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.3614, allocations: 187.8 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/0.3615, allocations: 97.08 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.3615, allocations: 4 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.3616, allocations: 11.98 kB / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.3616, allocations: 0 / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-06/0.3616, allocations: 0 / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.157e-05/0.3617, allocations: 95.2 kB / 1.325 GB, free: 14.17 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3617, allocations: 0 / 1.325 GB, free: 14.17 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002182/0.3619, allocations: 8 kB / 1.325 GB, free: 14.16 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.000793/0.3627, allocations: 0.7357 MB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003663/0.3631, allocations: 67.92 kB / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3631, allocations: 0 / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.3632, allocations: 39.89 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.3636, allocations: 8 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000527/0.3641, allocations: 155.1 kB / 1.326 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.3645, allocations: 0.6807 MB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.106e-05/0.3645, allocations: 4 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.102e-05/0.3645, allocations: 11.44 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3645, allocations: 0 / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.389, allocations: 1.635 MB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.315, allocations: 2.812 kB / 1.329 GB, free: 10.82 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_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_Max.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable max1.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv. Warning: Get data of variable max1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv failed! Error: Could not read variable max1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv. Warning: Get data of variable max1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.356068742927164]