Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.001304/0.001304, 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.0009839/0.0009839, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8944/0.8944, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.67/1.67, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Average,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.981 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.743e-05, allocations: 4.953 kB / 0.981 GB, free: 2.52 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001126/0.001144, allocations: 0.7027 MB / 0.9817 GB, free: 1.816 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007318/0.001875, allocations: 0.8198 MB / 0.9825 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.474e-05/0.00191, allocations: 0 / 0.9825 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.001936, allocations: 0 / 0.9825 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.165e-05/0.001997, allocations: 19.84 kB / 0.9825 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 5.996e-05/0.002057, allocations: 11.98 kB / 0.9825 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.511e-05/0.002132, allocations: 39.86 kB / 0.9826 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.869e-05/0.002231, allocations: 15.98 kB / 0.9826 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.765e-05/0.002309, allocations: 23.92 kB / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.498e-05/0.002344, allocations: 15.98 kB / 0.9826 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.002367, allocations: 4 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.582e-06/0.002374, allocations: 4 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.002391, allocations: 11.97 kB / 0.9827 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.084e-05/0.002412, allocations: 11.94 kB / 0.9827 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.101e-05/0.002493, allocations: 47.8 kB / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.002495, allocations: 0 / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of FrontEnd: time 8.31e-07/0.002496, allocations: 0 / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.0025, allocations: 0 / 0.9827 GB, free: 0.7812 MB / 0.9323 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.0003598/0.00286, allocations: 286.2 kB / 0.983 GB, free: 480 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.002898, allocations: 8.031 kB / 0.983 GB, free: 472 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.046e-05/0.002929, allocations: 46.67 kB / 0.983 GB, free: 416 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.822e-05/0.002947, allocations: 4.891 kB / 0.983 GB, free: 412 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.023e-05/0.003017, allocations: 105.8 kB / 0.9831 GB, free: 280 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.003028, allocations: 4.375 kB / 0.9831 GB, free: 276 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.003036, allocations: 4.375 kB / 0.9832 GB, free: 272 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.003195, allocations: 70.22 kB / 0.9832 GB, free: 196 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.003202, allocations: 192 / 0.9832 GB, free: 196 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.003213, allocations: 384 / 0.9832 GB, free: 196 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.00322, allocations: 8.125 kB / 0.9832 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.003358, allocations: 63.86 kB / 0.9833 GB, free: 124 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.003644, allocations: 239.9 kB / 0.9835 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.003755, allocations: 54.55 kB / 0.9836 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.16e-05/0.003827, allocations: 40.91 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.003838, allocations: 7.875 kB / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.003857, allocations: 34.56 kB / 0.9836 GB, free: 15.69 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.003858, allocations: 0 / 0.9836 GB, free: 15.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0002828/0.004141, allocations: 129.5 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.004168, allocations: 55.39 kB / 0.9838 GB, free: 15.49 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.51e-05/0.004233, allocations: 105.9 kB / 0.9839 GB, free: 15.38 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.004243, allocations: 29.69 kB / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.004278, allocations: 84.14 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.004296, allocations: 11.91 kB / 0.984 GB, free: 15.24 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.00432, allocations: 13.72 kB / 0.9841 GB, free: 15.22 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.065e-05/0.004391, allocations: 318.8 kB / 0.9844 GB, free: 14.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.928e-05/0.00446, allocations: 35.97 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.258e-05/0.004523, allocations: 27.97 kB / 0.9844 GB, free: 14.84 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.004652, allocations: 72.72 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.004654, allocations: 0 / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001556/0.00481, allocations: 101.9 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.004823, allocations: 4 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.004829, allocations: 3.984 kB / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.00484, allocations: 0 / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.553e-05/0.004916, allocations: 15.98 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.00492, allocations: 0 / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.688e-05/0.004957, allocations: 19.94 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.004964, allocations: 3.984 kB / 0.9846 GB, free: 14.61 MB / 0.948 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 5.297e-05/0.005017, allocations: 117.8 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.005029, allocations: 3.938 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.813e-05/0.005048, allocations: 7.984 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.005051, allocations: 4 kB / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.005055, allocations: 3.938 kB / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.005057, allocations: 0 / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.005167, allocations: 132.8 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.005168, allocations: 0 / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/0.005208, allocations: 19.92 kB / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.005209, allocations: 4 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.005217, allocations: 0 / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.005218, allocations: 4 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.005219, allocations: 0 / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.005401, allocations: 195.4 kB / 0.9851 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-06/0.005408, allocations: 7.938 kB / 0.9851 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.216e-06/0.005416, allocations: 4 kB / 0.9851 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.847e-05/0.005465, allocations: 11.98 kB / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.005497, allocations: 3.984 kB / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.005499, allocations: 0 / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.882e-05/0.005528, allocations: 99.5 kB / 0.9852 GB, free: 13.94 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.005528, allocations: 3.938 kB / 0.9852 GB, free: 13.93 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001411/0.005669, allocations: 11.94 kB / 0.9852 GB, free: 13.92 MB / 0.948 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.0004254/0.006095, allocations: 0.728 MB / 0.986 GB, free: 13.16 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002428/0.006338, allocations: 63.92 kB / 0.986 GB, free: 13.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.006339, allocations: 4 kB / 0.986 GB, free: 13.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.115e-05/0.006411, allocations: 43.89 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.006605, allocations: 4 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.006923, allocations: 150.4 kB / 0.9862 GB, free: 12.86 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.136e-05/0.006964, allocations: 67.28 kB / 0.9863 GB, free: 12.78 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.177e-05/0.006986, allocations: 0 / 0.9863 GB, free: 12.78 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.007022, allocations: 20.48 kB / 0.9863 GB, free: 12.76 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/0.007023, allocations: 4 kB / 0.9863 GB, free: 12.75 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/0.01973, allocations: 2.323 MB / 0.9886 GB, free: 10.57 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.702/6.722, allocations: 5.109 kB / 0.9886 GB, free: 10.57 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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: 10.626539092510939]