Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.0008092/0.0008092, 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.000853/0.000853, allocations: 165.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.8751/0.8751, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.757/1.757, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.94e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.00124/0.00126, allocations: 0.6873 MB / 1 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007623/0.002022, allocations: 0.8237 MB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.002054, allocations: 0 / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.00208, allocations: 7.922 kB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.934e-05/0.002139, allocations: 15.88 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 5.606e-05/0.002195, allocations: 11.92 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.095e-05/0.002266, allocations: 47.86 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.629e-05/0.002363, allocations: 7.984 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.155e-05/0.002434, allocations: 23.97 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.468e-05/0.002469, allocations: 19.92 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.002489, allocations: 4 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.731e-06/0.002494, allocations: 0 / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.00251, allocations: 11.98 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.091e-05/0.00253, allocations: 11.94 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.22e-05/0.002613, allocations: 43.86 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.002615, allocations: 0 / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.72e-07/0.002615, allocations: 0 / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.00262, allocations: 4 kB / 1.001 GB, free: 11.7 MB / 0.9636 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.0003476/0.002967, allocations: 282.3 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.003007, allocations: 8.75 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.026e-05/0.003037, allocations: 42.72 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.147e-05/0.003058, allocations: 4.891 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.23e-05/0.003141, allocations: 121.6 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.003151, allocations: 4.375 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.003159, allocations: 4.375 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.003313, allocations: 66.22 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.003319, allocations: 192 / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.003328, allocations: 4.375 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.003334, allocations: 4.125 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.003476, allocations: 67.86 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006582/0.004134, allocations: 232 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.004246, allocations: 50.55 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.031e-05/0.004326, allocations: 44.91 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.004338, allocations: 7.938 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.004357, allocations: 34.56 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.004358, allocations: 0 / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0002987/0.004656, allocations: 133.5 kB / 1.002 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.004685, allocations: 55.39 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.887e-05/0.004744, allocations: 109.8 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.004754, allocations: 29.7 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.236e-05/0.004786, allocations: 80.14 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.004803, allocations: 11.95 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.004826, allocations: 9.719 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.235e-05/0.004898, allocations: 326.8 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-05/0.00497, allocations: 27.97 kB / 1.003 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.346e-05/0.005034, allocations: 27.97 kB / 1.003 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.005166, allocations: 64.78 kB / 1.003 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.005168, allocations: 7.938 kB / 1.003 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001629/0.005331, allocations: 109.5 kB / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.005343, allocations: 4 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.005349, allocations: 7.984 kB / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.005361, allocations: 0 / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.1e-05/0.005442, allocations: 11.98 kB / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.005447, allocations: 320 / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.301e-05/0.00549, allocations: 15.98 kB / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.005496, allocations: 0 / 1.003 GB, free: 9.531 MB / 0.9636 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.568e-05/0.005551, allocations: 113.8 kB / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.005566, allocations: 4.266 kB / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.843e-05/0.005584, allocations: 11.98 kB / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.005587, allocations: 3.984 kB / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.005592, allocations: 0 / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.005595, allocations: 0 / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.005699, allocations: 140.6 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.005699, allocations: 4 kB / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.129e-05/0.005741, allocations: 19.92 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.005742, allocations: 3.938 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.005748, allocations: 0 / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.005749, allocations: 0 / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.005752, allocations: 7.969 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.005938, allocations: 191.4 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.005945, allocations: 11.94 kB / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.005957, allocations: 4 kB / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.791e-05/0.006005, allocations: 11.98 kB / 1.004 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.00604, allocations: 7.984 kB / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.006043, allocations: 0 / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.068e-05/0.006074, allocations: 87.27 kB / 1.004 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006074, allocations: 0 / 1.004 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001405/0.006214, allocations: 11.95 kB / 1.004 GB, free: 8.832 MB / 0.9636 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.0003586/0.006573, allocations: 0.728 MB / 1.005 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001784/0.006751, allocations: 63.92 kB / 1.005 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.006752, allocations: 4 kB / 1.005 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.066e-05/0.006823, allocations: 39.95 kB / 1.005 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.00705, allocations: 4 kB / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.007397, allocations: 159.1 kB / 1.005 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.555e-05/0.007442, allocations: 67.28 kB / 1.005 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.418e-05/0.007466, allocations: 3.938 kB / 1.005 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.007503, allocations: 16.48 kB / 1.005 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of SimCode: time 4.61e-07/0.007504, allocations: 4 kB / 1.005 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.02291, allocations: 2.327 MB / 1.007 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.491/6.514, allocations: 4.062 kB / 1.007 GB, free: 5.469 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.531368059106171]