Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 225.6 MB / 249.3 MB, free: 3.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.543/2.543, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 71.89 kB / 1.107 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8003/0.8022, allocations: 168.7 MB / 1.271 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001684/0.8039, allocations: 0.718 MB / 1.272 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007019/0.8046, allocations: 0.8086 MB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.8046, allocations: 0.7812 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.393e-05/0.8046, allocations: 6.719 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.462e-05/0.8047, allocations: 9.859 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.362e-05/0.8047, allocations: 18.02 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.294e-05/0.8048, allocations: 42.77 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.926e-05/0.8049, allocations: 9.875 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.106e-05/0.805, allocations: 17.47 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.562e-05/0.805, allocations: 22.45 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.805, allocations: 4.094 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-06/0.805, allocations: 3.875 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.8051, allocations: 10.69 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.8051, allocations: 13.69 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.422e-05/0.8052, allocations: 46.94 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.8052, allocations: 4 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8052, allocations: 0 / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.8052, allocations: 0.8125 kB / 1.273 GB, free: 6.531 MB / 0.9981 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.0004331/0.8056, allocations: 364.5 kB / 1.273 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.8057, allocations: 9.719 kB / 1.273 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.268e-05/0.8057, allocations: 32.16 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.239e-05/0.8057, allocations: 7.812 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.272e-05/0.8058, allocations: 164.2 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.8058, allocations: 5.875 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.8058, allocations: 5.828 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.806, allocations: 72.8 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.8061, allocations: 3.938 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.8061, allocations: 1.781 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.8061, allocations: 0 / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.8064, allocations: 66.62 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.8066, allocations: 270.9 kB / 1.274 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.8068, allocations: 58.33 kB / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.807, allocations: 40.23 kB / 1.274 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.807, allocations: 0.9062 kB / 1.274 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.807, allocations: 32.25 kB / 1.274 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.807, allocations: 0 / 1.274 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0004949/0.8075, allocations: 129 kB / 1.274 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.8075, allocations: 52.19 kB / 1.274 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.443e-05/0.8076, allocations: 107.1 kB / 1.274 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.8076, allocations: 26.58 kB / 1.275 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.624e-05/0.8076, allocations: 99.09 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.8076, allocations: 9.672 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.8076, allocations: 13.34 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.948e-05/0.8077, allocations: 321.8 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.8078, allocations: 30.16 kB / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.8079, allocations: 31.55 kB / 1.275 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.8082, allocations: 70.72 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8082, allocations: 5.031 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002894/0.8085, allocations: 105.4 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.8085, allocations: 5.688 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.8085, allocations: 0 / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.8085, allocations: 0.9688 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.8086, allocations: 19.72 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.8086, allocations: 4 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.498e-05/0.8087, allocations: 14.16 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.8087, allocations: 5.031 kB / 1.275 GB, free: 4.703 MB / 0.9981 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 4.219e-05/0.8088, allocations: 111.5 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.8088, allocations: 2.406 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.317e-05/0.8088, allocations: 8.969 kB / 1.275 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.8088, allocations: 1.125 kB / 1.275 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.8088, allocations: 0 / 1.275 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.8088, allocations: 4 kB / 1.275 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.8089, allocations: 172.2 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8089, allocations: 1.359 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.022e-05/0.809, allocations: 14.38 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.809, allocations: 0 / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.809, allocations: 1 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.809, allocations: 0 / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.809, allocations: 0.9688 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.8093, allocations: 209.9 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.8094, allocations: 78.83 kB / 1.276 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.8094, allocations: 2.125 kB / 1.276 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.8095, allocations: 10.72 kB / 1.276 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.8095, allocations: 3.812 kB / 1.276 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.8095, allocations: 0.7188 kB / 1.276 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.638e-05/0.8095, allocations: 95.8 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.8095, allocations: 0 / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002032/0.8098, allocations: 6.281 kB / 1.276 GB, free: 4.027 MB / 0.9981 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.0005058/0.8103, allocations: 0.7328 MB / 1.277 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003185/0.8106, allocations: 74.05 kB / 1.277 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.8106, allocations: 0 / 1.277 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.8107, allocations: 37.73 kB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.811, allocations: 11.34 kB / 1.277 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/0.8114, allocations: 164.9 kB / 1.277 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.122e-05/0.8115, allocations: 0.6802 MB / 1.278 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.874e-05/0.8115, allocations: 0.9375 kB / 1.278 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.8115, allocations: 20.2 kB / 1.278 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.8115, allocations: 0 / 1.278 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.835, allocations: 1.611 MB / 1.279 GB, free: 18.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.895/7.73, allocations: 7.734 kB / 1.279 GB, free: 18.07 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_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_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable avg1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.csv. Warning: Get data of variable avg1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.csv failed! Error: Could not read variable avg1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.csv. Warning: Get data of variable avg1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.153406719000486]