Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001403/0.001403, allocations: 102.7 kB / 16.4 MB, free: 6.496 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.001432/0.001432, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.488/1.488, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 437.1 MB / 0.7171 GB, free: 4.121 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 67.89 kB / 1.027 GB, free: 7.84 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8896/0.8916, allocations: 151.6 MB / 1.175 GB, free: 3.52 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001908/0.8936, allocations: 0.7065 MB / 1.175 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009757/0.8946, allocations: 0.8026 MB / 1.176 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.8946, allocations: 0 / 1.176 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.313e-05/0.8947, allocations: 3.938 kB / 1.176 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.692e-05/0.8948, allocations: 3.938 kB / 1.176 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 7.277e-05/0.8948, allocations: 19.97 kB / 1.176 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.704e-05/0.8949, allocations: 43.84 kB / 1.176 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.8951, allocations: 11.98 kB / 1.176 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.658e-05/0.8952, allocations: 19.94 kB / 1.176 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.293e-05/0.8952, allocations: 23.91 kB / 1.176 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.8952, allocations: 4 kB / 1.176 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.048e-05/0.8953, allocations: 4 kB / 1.176 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.8953, allocations: 7.938 kB / 1.176 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.8953, allocations: 15.92 kB / 1.176 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.8954, allocations: 41.69 kB / 1.176 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8955, allocations: 3.938 kB / 1.176 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.92e-07/0.8955, allocations: 3.938 kB / 1.176 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.8955, allocations: 0 / 1.176 GB, free: 1.805 MB / 0.8887 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.0006427/0.8961, allocations: 379.2 kB / 1.177 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.8962, allocations: 12.62 kB / 1.177 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/0.8962, allocations: 30.75 kB / 1.177 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.8963, allocations: 4.891 kB / 1.177 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.8964, allocations: 164.4 kB / 1.177 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.8964, allocations: 4.312 kB / 1.177 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.8965, allocations: 8.375 kB / 1.177 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.8967, allocations: 70.2 kB / 1.177 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.8967, allocations: 3.938 kB / 1.177 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.8968, allocations: 4 kB / 1.177 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.8968, allocations: 0 / 1.177 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/0.8971, allocations: 63.92 kB / 1.177 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.8974, allocations: 268.9 kB / 1.177 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.8977, allocations: 58.47 kB / 1.177 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.8978, allocations: 36.92 kB / 1.177 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.8978, allocations: 3.984 kB / 1.177 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.8979, allocations: 34.56 kB / 1.178 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.8979, allocations: 0 / 1.178 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005301/0.8984, allocations: 125.5 kB / 1.178 GB, free: 388 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.8985, allocations: 55.41 kB / 1.178 GB, free: 320 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.998e-05/0.8986, allocations: 113.8 kB / 1.178 GB, free: 196 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.8986, allocations: 25.7 kB / 1.178 GB, free: 164 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.8986, allocations: 96.06 kB / 1.178 GB, free: 64 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.8987, allocations: 7.906 kB / 1.178 GB, free: 56 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.8987, allocations: 13.72 kB / 1.178 GB, free: 36 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.8989, allocations: 314.8 kB / 1.178 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.899, allocations: 35.95 kB / 1.178 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.8992, allocations: 35.97 kB / 1.178 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.8995, allocations: 68.72 kB / 1.178 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8995, allocations: 0 / 1.178 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003228/0.8998, allocations: 101.6 kB / 1.178 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.8998, allocations: 8 kB / 1.178 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.8998, allocations: 0 / 1.178 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.8998, allocations: 3.938 kB / 1.178 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.9, allocations: 15.97 kB / 1.178 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.9, allocations: 0 / 1.178 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.382e-05/0.9001, allocations: 11.98 kB / 1.179 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.9001, allocations: 4 kB / 1.179 GB, free: 15.43 MB / 0.9044 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.393e-05/0.9002, allocations: 117.8 kB / 1.179 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.9002, allocations: 4.281 kB / 1.179 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.9002, allocations: 11.84 kB / 1.179 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.9002, allocations: 0 / 1.179 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.9003, allocations: 7.969 kB / 1.179 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.9003, allocations: 0 / 1.179 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.9004, allocations: 169.6 kB / 1.179 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.9005, allocations: 0 / 1.179 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.527e-05/0.9006, allocations: 19.98 kB / 1.179 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.9006, allocations: 0 / 1.179 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.9006, allocations: 0 / 1.179 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.9006, allocations: 0 / 1.179 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.9006, allocations: 0 / 1.179 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003721/0.901, allocations: 203.3 kB / 1.179 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.901, allocations: 85.06 kB / 1.179 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.901, allocations: 0 / 1.179 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.9011, allocations: 11.98 kB / 1.179 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.9012, allocations: 7.984 kB / 1.179 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.9012, allocations: 0 / 1.179 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.604e-05/0.9012, allocations: 87.28 kB / 1.179 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.9013, allocations: 0 / 1.179 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002058/0.9015, allocations: 4 kB / 1.179 GB, free: 14.61 MB / 0.9044 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.0007196/0.9022, allocations: 0.7396 MB / 1.18 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003365/0.9025, allocations: 67.92 kB / 1.18 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9026, allocations: 0 / 1.18 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.9027, allocations: 35.95 kB / 1.18 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.903, allocations: 8 kB / 1.18 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.9035, allocations: 166.9 kB / 1.18 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.9038, allocations: 0.6768 MB / 1.181 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.564e-05/0.9038, allocations: 4 kB / 1.181 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.9038, allocations: 23.36 kB / 1.181 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.9039, allocations: 0 / 1.181 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.9252, allocations: 1.636 MB / 1.182 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/9.01, allocations: 13.91 kB / 1.182 GB, free: 11.25 MB / 0.9044 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.838486039079726]