Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.001669/0.001669, allocations: 109.9 kB / 16.41 MB, free: 6.508 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.001424/0.001424, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.455/1.455, 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.634/2.634, allocations: 437.1 MB / 0.7171 GB, free: 4.098 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.Sin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003074/0.003074, allocations: 71.89 kB / 1.027 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.056, allocations: 151.6 MB / 1.175 GB, free: 17.49 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001764/1.057, allocations: 0.6625 MB / 1.175 GB, free: 17.08 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008361/1.058, allocations: 0.8121 MB / 1.176 GB, free: 16.46 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/1.058, allocations: 0 / 1.176 GB, free: 16.46 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.541e-05/1.058, allocations: 0.5625 kB / 1.176 GB, free: 16.46 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.828e-05/1.058, allocations: 5.328 kB / 1.176 GB, free: 16.46 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/1.059, allocations: 4.75 kB / 1.176 GB, free: 16.46 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.791e-05/1.059, allocations: 27.61 kB / 1.176 GB, free: 16.45 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.495e-05/1.059, allocations: 17.38 kB / 1.176 GB, free: 16.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.328e-05/1.059, allocations: 8.453 kB / 1.176 GB, free: 16.43 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.095e-05/1.059, allocations: 10.95 kB / 1.176 GB, free: 16.43 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/1.059, allocations: 1.125 kB / 1.176 GB, free: 16.43 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/1.059, allocations: 2.438 kB / 1.176 GB, free: 16.43 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/1.059, allocations: 6.172 kB / 1.176 GB, free: 16.42 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/1.059, allocations: 5.828 kB / 1.176 GB, free: 16.42 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.739e-05/1.059, allocations: 28.03 kB / 1.176 GB, free: 16.41 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.059, allocations: 0 / 1.176 GB, free: 16.41 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.894e-06/1.059, allocations: 0 / 1.176 GB, free: 16.41 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.839e-06/1.059, allocations: 5.312 kB / 1.176 GB, free: 16.4 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000369/1.059, allocations: 332.6 kB / 1.177 GB, free: 16.05 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.059, allocations: 10.16 kB / 1.177 GB, free: 16.05 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.016e-05/1.059, allocations: 35.55 kB / 1.177 GB, free: 16 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.243e-05/1.06, allocations: 2.125 kB / 1.177 GB, free: 16 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.539e-05/1.06, allocations: 179.1 kB / 1.177 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/1.06, allocations: 5.438 kB / 1.177 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.116e-06/1.06, allocations: 1.844 kB / 1.177 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/1.06, allocations: 53.56 kB / 1.177 GB, free: 15.75 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/1.06, allocations: 3.938 kB / 1.177 GB, free: 15.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/1.06, allocations: 5.266 kB / 1.177 GB, free: 15.74 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/1.06, allocations: 0 / 1.177 GB, free: 15.74 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/1.06, allocations: 33.08 kB / 1.177 GB, free: 15.74 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002737/1.06, allocations: 245.3 kB / 1.177 GB, free: 15.46 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/1.06, allocations: 49.38 kB / 1.177 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.419e-05/1.061, allocations: 23.17 kB / 1.177 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/1.061, allocations: 1.188 kB / 1.177 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/1.061, allocations: 36.39 kB / 1.177 GB, free: 15.37 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/1.061, allocations: 3.938 kB / 1.177 GB, free: 15.37 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.000381/1.061, allocations: 87 kB / 1.177 GB, free: 15.32 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/1.061, allocations: 53.3 kB / 1.177 GB, free: 15.26 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.304e-05/1.061, allocations: 97.09 kB / 1.178 GB, free: 15.16 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/1.061, allocations: 25.7 kB / 1.178 GB, free: 15.13 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.387e-05/1.061, allocations: 86.23 kB / 1.178 GB, free: 15.04 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/1.061, allocations: 5.844 kB / 1.178 GB, free: 15.04 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/1.061, allocations: 15.64 kB / 1.178 GB, free: 15.02 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 5.449e-05/1.061, allocations: 317.5 kB / 1.178 GB, free: 14.7 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.884e-05/1.061, allocations: 13.91 kB / 1.178 GB, free: 14.7 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.828e-05/1.061, allocations: 18.09 kB / 1.178 GB, free: 14.7 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/1.062, allocations: 37.95 kB / 1.178 GB, free: 14.69 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.062, allocations: 8 kB / 1.178 GB, free: 14.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001872/1.062, allocations: 72.2 kB / 1.178 GB, free: 14.64 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/1.062, allocations: 4.156 kB / 1.178 GB, free: 14.64 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.062, allocations: 1.312 kB / 1.178 GB, free: 14.64 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/1.062, allocations: 0.6094 kB / 1.178 GB, free: 14.64 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.738e-05/1.062, allocations: 9.234 kB / 1.178 GB, free: 14.64 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/1.062, allocations: 0 / 1.178 GB, free: 14.64 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.815e-05/1.062, allocations: 9.891 kB / 1.178 GB, free: 14.63 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/1.062, allocations: 1.625 kB / 1.178 GB, free: 14.63 MB / 0.92 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 (2): * Single equations (assignments): 2 * 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.249e-05/1.062, allocations: 115.8 kB / 1.178 GB, free: 14.51 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/1.062, allocations: 1.125 kB / 1.178 GB, free: 14.51 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/1.062, allocations: 67.69 kB / 1.178 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.062, allocations: 1.312 kB / 1.178 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.726e-06/1.062, allocations: 3.938 kB / 1.178 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/1.062, allocations: 4.828 kB / 1.178 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/1.062, allocations: 160.7 kB / 1.178 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.062, allocations: 0 / 1.178 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.83e-05/1.062, allocations: 8.719 kB / 1.178 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.062, allocations: 0.5156 kB / 1.178 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/1.062, allocations: 0 / 1.178 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/1.062, allocations: 5.875 kB / 1.178 GB, free: 14.26 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/1.063, allocations: 0 / 1.178 GB, free: 14.26 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/1.063, allocations: 166.5 kB / 1.179 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/1.063, allocations: 87.3 kB / 1.179 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/1.063, allocations: 4.797 kB / 1.179 GB, free: 14.01 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/1.063, allocations: 5.844 kB / 1.179 GB, free: 14.01 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/1.063, allocations: 2.609 kB / 1.179 GB, free: 14.01 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/1.063, allocations: 1.094 kB / 1.179 GB, free: 14.01 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.547e-05/1.063, allocations: 84.84 kB / 1.179 GB, free: 13.93 MB / 0.92 GB Notification: Performance of sort global known variables: time 6.42e-07/1.063, allocations: 4.031 kB / 1.179 GB, free: 13.93 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002114/1.063, allocations: 10.34 kB / 1.179 GB, free: 13.92 MB / 0.92 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 (2): * Single equations (assignments): 2 * 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.000408/1.064, allocations: 0.6933 MB / 1.179 GB, free: 13.25 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002117/1.064, allocations: 39.59 kB / 1.18 GB, free: 13.25 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.064, allocations: 0 / 1.18 GB, free: 13.25 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.517e-05/1.064, allocations: 24.14 kB / 1.18 GB, free: 13.24 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/1.064, allocations: 6.078 kB / 1.18 GB, free: 13.24 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/1.065, allocations: 140.3 kB / 1.18 GB, free: 13.09 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/1.065, allocations: 0.6774 MB / 1.18 GB, free: 12.39 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.108e-05/1.065, allocations: 0 / 1.18 GB, free: 12.39 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/1.065, allocations: 14.67 kB / 1.18 GB, free: 12.38 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/1.065, allocations: 0 / 1.18 GB, free: 12.38 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/1.087, allocations: 1.262 MB / 1.182 GB, free: 12.01 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/9.264, allocations: 5.922 kB / 1.182 GB, free: 12 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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: 15.307877361075953]