Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001708/0.001708, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002162/0.002162, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.361/3.361, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_latest_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.002107/0.002107, allocations: 70.53 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3917, allocations: 180.2 MB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001897/0.3936, allocations: 0.7061 MB / 1.354 GB, free: 7.742 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.3946, allocations: 0.8398 MB / 1.354 GB, free: 6.891 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.026e-05/0.3947, allocations: 0 / 1.354 GB, free: 6.891 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.816e-05/0.3947, allocations: 3.938 kB / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.377e-05/0.3948, allocations: 11.92 kB / 1.354 GB, free: 6.875 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 9.57e-05/0.3949, allocations: 11.98 kB / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.789e-05/0.395, allocations: 43.8 kB / 1.354 GB, free: 6.82 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.491e-05/0.395, allocations: 11.98 kB / 1.354 GB, free: 6.809 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.84e-05/0.3951, allocations: 16 kB / 1.355 GB, free: 6.793 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.445e-05/0.3952, allocations: 23.84 kB / 1.355 GB, free: 6.77 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.3952, allocations: 8 kB / 1.355 GB, free: 6.762 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.3952, allocations: 4 kB / 1.355 GB, free: 6.758 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.3952, allocations: 7.984 kB / 1.355 GB, free: 6.75 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/0.3953, allocations: 19.92 kB / 1.355 GB, free: 6.73 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.945e-05/0.3954, allocations: 44.03 kB / 1.355 GB, free: 6.688 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3954, allocations: 0 / 1.355 GB, free: 6.688 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3954, allocations: 0 / 1.355 GB, free: 6.688 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.3954, allocations: 0 / 1.355 GB, free: 6.688 MB / 1.045 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.0005105/0.3959, allocations: 290.2 kB / 1.355 GB, free: 6.371 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3959, allocations: 12.03 kB / 1.355 GB, free: 6.359 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.396, allocations: 30.75 kB / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.396, allocations: 4.938 kB / 1.355 GB, free: 6.316 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.3961, allocations: 122.3 kB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.3961, allocations: 4.375 kB / 1.355 GB, free: 6.168 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.3961, allocations: 4.359 kB / 1.355 GB, free: 6.164 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.3964, allocations: 70.22 kB / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3964, allocations: 7.938 kB / 1.355 GB, free: 6.082 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.3964, allocations: 0 / 1.355 GB, free: 6.082 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3964, allocations: 0 / 1.355 GB, free: 6.082 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.3967, allocations: 67.86 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.3971, allocations: 247.9 kB / 1.355 GB, free: 5.73 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.3973, allocations: 58.55 kB / 1.355 GB, free: 5.664 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.3974, allocations: 36.91 kB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.3975, allocations: 0 / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3975, allocations: 34.56 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.3975, allocations: 0 / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005388/0.398, allocations: 133.5 kB / 1.356 GB, free: 5.445 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.3981, allocations: 51.41 kB / 1.356 GB, free: 5.383 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.237e-05/0.3982, allocations: 105.8 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.3982, allocations: 33.7 kB / 1.356 GB, free: 5.23 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.3982, allocations: 84.14 kB / 1.356 GB, free: 5.145 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.3983, allocations: 11.91 kB / 1.356 GB, free: 5.133 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.3983, allocations: 17.66 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3984, allocations: 318.8 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.3986, allocations: 31.97 kB / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.3987, allocations: 31.95 kB / 1.356 GB, free: 4.727 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.399, allocations: 76.72 kB / 1.356 GB, free: 4.648 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.399, allocations: 0 / 1.356 GB, free: 4.648 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003232/0.3993, allocations: 101.6 kB / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3993, allocations: 8 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3993, allocations: 0 / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3993, allocations: 0 / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.3995, allocations: 15.98 kB / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3995, allocations: 0 / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.268e-05/0.3995, allocations: 15.97 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3995, allocations: 0 / 1.357 GB, free: 4.504 MB / 1.045 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 8.879e-05/0.3996, allocations: 121.7 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.3997, allocations: 7.953 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/0.4, allocations: 105.5 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4, allocations: 384 / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4, allocations: 0 / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.4, allocations: 0 / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.4002, allocations: 144.6 kB / 1.357 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4002, allocations: 3.984 kB / 1.357 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.754e-05/0.4003, allocations: 23.97 kB / 1.357 GB, free: 4.043 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4003, allocations: 0 / 1.357 GB, free: 4.043 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.4003, allocations: 0 / 1.357 GB, free: 4.043 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4003, allocations: 0 / 1.357 GB, free: 4.043 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4003, allocations: 0 / 1.357 GB, free: 4.043 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.4007, allocations: 203.4 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.4007, allocations: 7.938 kB / 1.357 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.4007, allocations: 3.938 kB / 1.357 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.4008, allocations: 11.98 kB / 1.357 GB, free: 3.805 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.4009, allocations: 4 kB / 1.357 GB, free: 3.801 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.4009, allocations: 7.984 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.052e-05/0.4009, allocations: 83.28 kB / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4009, allocations: 0 / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002221/0.4011, allocations: 12 kB / 1.357 GB, free: 3.699 MB / 1.045 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.0007018/0.4018, allocations: 0.724 MB / 1.358 GB, free: 2.949 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003188/0.4022, allocations: 71.86 kB / 1.358 GB, free: 2.879 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4022, allocations: 0 / 1.358 GB, free: 2.879 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.4023, allocations: 35.95 kB / 1.358 GB, free: 2.844 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.4026, allocations: 5.719 kB / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005041/0.4031, allocations: 155.2 kB / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.4034, allocations: 0.6807 MB / 1.359 GB, free: 1.941 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.891e-05/0.4035, allocations: 4 kB / 1.359 GB, free: 1.938 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/0.4035, allocations: 11.44 kB / 1.359 GB, free: 1.926 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.4035, allocations: 0 / 1.359 GB, free: 1.926 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.431, allocations: 1.761 MB / 1.361 GB, free: 304 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.09, allocations: 2.031 kB / 1.361 GB, free: 304 kB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv. Warning: Get data of variable min1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv failed! Error: Could not read variable min1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv. Warning: Get data of variable min1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.325689237999995]