Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.001299/0.001299, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001473/0.001473, allocations: 208.7 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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 3.416/3.416, allocations: 0.505 GB / 0.8101 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 64.11 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.426, allocations: 180.2 MB / 1.353 GB, free: 8.387 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002644/0.4286, allocations: 0.9048 MB / 1.354 GB, free: 7.484 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.4303, allocations: 0.925 MB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.4304, allocations: 3.938 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.56e-05/0.4305, allocations: 7.875 kB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.4306, allocations: 15.88 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.4309, allocations: 59.91 kB / 1.355 GB, free: 6.461 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.4312, allocations: 139.7 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.4314, allocations: 45.66 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.4315, allocations: 59.78 kB / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.4316, allocations: 59.67 kB / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.4316, allocations: 16 kB / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.392e-05/0.4317, allocations: 12 kB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.463e-05/0.4317, allocations: 27.92 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.503e-05/0.4318, allocations: 63.66 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.432, allocations: 143.5 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.432, allocations: 0 / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.112e-06/0.432, allocations: 0 / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.432, allocations: 4 kB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007027/0.4327, allocations: 375.7 kB / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.4327, allocations: 8.031 kB / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.993e-05/0.4328, allocations: 46.73 kB / 1.356 GB, free: 5.438 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.4328, allocations: 16.84 kB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.4332, allocations: 158.3 kB / 1.356 GB, free: 5.242 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.4332, allocations: 8.375 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.4332, allocations: 16.38 kB / 1.356 GB, free: 5.219 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.4336, allocations: 146.2 kB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.4336, allocations: 3.938 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.4336, allocations: 7.938 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.4336, allocations: 4 kB / 1.356 GB, free: 5.055 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003268/0.4339, allocations: 127.9 kB / 1.356 GB, free: 4.93 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008485/0.4348, allocations: 459.3 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.435, allocations: 82.47 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.4351, allocations: 52.95 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.4352, allocations: 3.984 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.4352, allocations: 30.56 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.4352, allocations: 7.938 kB / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0005139/0.4357, allocations: 157.5 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.4358, allocations: 51.41 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.436, allocations: 199.6 kB / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.436, allocations: 25.7 kB / 1.357 GB, free: 3.777 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.976e-05/0.4361, allocations: 120 kB / 1.357 GB, free: 3.656 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.4361, allocations: 35.69 kB / 1.357 GB, free: 3.621 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/0.4362, allocations: 25.72 kB / 1.357 GB, free: 3.59 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.4364, allocations: 330.8 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.4365, allocations: 35.98 kB / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.4366, allocations: 47.97 kB / 1.358 GB, free: 3.176 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.4369, allocations: 103.3 kB / 1.358 GB, free: 3.074 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4369, allocations: 3.938 kB / 1.358 GB, free: 3.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003322/0.4372, allocations: 141.5 kB / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.4372, allocations: 4 kB / 1.358 GB, free: 2.922 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.4372, allocations: 0 / 1.358 GB, free: 2.922 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4372, allocations: 4 kB / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.4374, allocations: 23.98 kB / 1.358 GB, free: 2.895 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4374, allocations: 4 kB / 1.358 GB, free: 2.891 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.4375, allocations: 19.88 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.4375, allocations: 4 kB / 1.358 GB, free: 2.867 MB / 1.045 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 (13): * Single equations (assignments): 13 * 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 0.00011/0.4377, allocations: 129.7 kB / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.4377, allocations: 15.91 kB / 1.358 GB, free: 2.715 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003571/0.4381, allocations: 139 kB / 1.358 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4381, allocations: 0 / 1.358 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.4381, allocations: 8 kB / 1.358 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4381, allocations: 0 / 1.358 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006167/0.4387, allocations: 424.5 kB / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4387, allocations: 4.031 kB / 1.359 GB, free: 2.078 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.4388, allocations: 27.92 kB / 1.359 GB, free: 2.051 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4388, allocations: 0 / 1.359 GB, free: 2.051 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.4388, allocations: 0 / 1.359 GB, free: 2.051 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.4388, allocations: 11.92 kB / 1.359 GB, free: 2.039 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4388, allocations: 0 / 1.359 GB, free: 2.039 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.4392, allocations: 241.9 kB / 1.359 GB, free: 1.777 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.4392, allocations: 23.83 kB / 1.359 GB, free: 1.754 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.4393, allocations: 4 kB / 1.359 GB, free: 1.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.4394, allocations: 15.98 kB / 1.359 GB, free: 1.734 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.4394, allocations: 11.92 kB / 1.359 GB, free: 1.723 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.4394, allocations: 8 kB / 1.359 GB, free: 1.715 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000129/0.4396, allocations: 148.1 kB / 1.359 GB, free: 1.57 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4396, allocations: 0 / 1.359 GB, free: 1.57 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002509/0.4398, allocations: 16 kB / 1.359 GB, free: 1.555 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0007542/0.4406, allocations: 0.7773 MB / 1.36 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003/0.4409, allocations: 99.88 kB / 1.36 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4409, allocations: 0 / 1.36 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.441, allocations: 51.91 kB / 1.36 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.4414, allocations: 21.59 kB / 1.36 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.444, allocations: 1.887 MB / 1.362 GB, free: 14.6 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.4444, allocations: 0.7122 MB / 1.363 GB, free: 13.86 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.552e-05/0.4445, allocations: 17.08 kB / 1.363 GB, free: 13.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.429e-05/0.4445, allocations: 39.42 kB / 1.363 GB, free: 13.8 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.4445, allocations: 0 / 1.363 GB, free: 13.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03032/0.4749, allocations: 2.981 MB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.8, allocations: 1.719 kB / 1.366 GB, free: 10.96 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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: 18.822754661086947]