Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.001269/0.001269, allocations: 114.3 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.001497/0.001497, allocations: 216.3 kB / 22.26 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 8.039 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.397/3.397, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.Log,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log",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.002138/0.002138, allocations: 74.59 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4255, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002361/0.4279, allocations: 0.6692 MB / 1.354 GB, free: 7.77 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.4292, allocations: 0.8514 MB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.096e-05/0.4292, allocations: 0 / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.4292, allocations: 3.938 kB / 1.354 GB, free: 6.902 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.623e-05/0.4293, allocations: 0 / 1.354 GB, free: 6.902 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.4295, allocations: 15.92 kB / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.74e-05/0.4296, allocations: 16 kB / 1.354 GB, free: 6.871 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.4297, allocations: 15.97 kB / 1.354 GB, free: 6.855 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.4298, allocations: 11.88 kB / 1.354 GB, free: 6.844 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.601e-05/0.4298, allocations: 11.98 kB / 1.354 GB, free: 6.832 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.4298, allocations: 4 kB / 1.354 GB, free: 6.828 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.59e-05/0.4299, allocations: 8 kB / 1.354 GB, free: 6.82 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.4299, allocations: 3.938 kB / 1.354 GB, free: 6.816 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.4299, allocations: 8 kB / 1.354 GB, free: 6.809 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.4301, allocations: 32.09 kB / 1.355 GB, free: 6.777 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4301, allocations: 0 / 1.355 GB, free: 6.777 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4301, allocations: 4 kB / 1.355 GB, free: 6.773 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.4301, allocations: 0 / 1.355 GB, free: 6.773 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005105/0.4306, allocations: 258.3 kB / 1.355 GB, free: 6.488 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4306, allocations: 12.03 kB / 1.355 GB, free: 6.477 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.4307, allocations: 34.75 kB / 1.355 GB, free: 6.434 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.011e-05/0.4308, allocations: 4.922 kB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.4309, allocations: 114.5 kB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.4309, allocations: 384 / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.4309, allocations: 4.312 kB / 1.355 GB, free: 6.289 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.4311, allocations: 54.17 kB / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.4311, allocations: 3.938 kB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.4312, allocations: 0 / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4312, allocations: 4 kB / 1.355 GB, free: 6.223 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.4313, allocations: 39.89 kB / 1.355 GB, free: 6.184 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.4317, allocations: 216.1 kB / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.4319, allocations: 38.5 kB / 1.355 GB, free: 5.883 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.591e-05/0.432, allocations: 28.89 kB / 1.355 GB, free: 5.852 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.432, allocations: 7.938 kB / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.432, allocations: 30.56 kB / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.432, allocations: 0 / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003697/0.4324, allocations: 77.64 kB / 1.355 GB, free: 5.723 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.4325, allocations: 55.53 kB / 1.355 GB, free: 5.656 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.22e-05/0.4326, allocations: 97.86 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.4326, allocations: 25.7 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.4326, allocations: 88.12 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.4327, allocations: 11.89 kB / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.4327, allocations: 9.719 kB / 1.356 GB, free: 5.402 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4328, allocations: 314.8 kB / 1.356 GB, free: 5.086 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-05/0.4329, allocations: 19.98 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.644e-05/0.433, allocations: 19.91 kB / 1.356 GB, free: 5.047 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.4331, allocations: 40.83 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4331, allocations: 3.938 kB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/0.4333, allocations: 69.67 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.4333, allocations: 8.031 kB / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.4334, allocations: 0 / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.4334, allocations: 0 / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.623e-05/0.4335, allocations: 11.98 kB / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.4335, allocations: 0 / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/0.4335, allocations: 4 kB / 1.356 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.4335, allocations: 0 / 1.356 GB, free: 4.902 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 (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 0.0001037/0.4336, allocations: 125.6 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.4336, allocations: 8 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.4339, allocations: 68.97 kB / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4339, allocations: 0 / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4339, allocations: 3.938 kB / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.4339, allocations: 0 / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.4341, allocations: 132.7 kB / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4341, allocations: 0 / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.935e-05/0.4341, allocations: 7.984 kB / 1.356 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4341, allocations: 4.031 kB / 1.356 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.4341, allocations: 4 kB / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4341, allocations: 0 / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4341, allocations: 192 / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.4344, allocations: 167.4 kB / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.4344, allocations: 7.938 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.4344, allocations: 7.969 kB / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.4345, allocations: 7.984 kB / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.4345, allocations: 0 / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.4345, allocations: 4 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.263e-05/0.4346, allocations: 83.27 kB / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4346, allocations: 0 / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002145/0.4348, allocations: 4 kB / 1.357 GB, free: 4.207 MB / 1.045 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.0006126/0.4354, allocations: 0.6967 MB / 1.357 GB, free: 3.48 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.4356, allocations: 35.95 kB / 1.357 GB, free: 3.445 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4356, allocations: 0 / 1.357 GB, free: 3.445 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.731e-05/0.4357, allocations: 24.08 kB / 1.357 GB, free: 3.422 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.436, allocations: 4 kB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.4365, allocations: 131.3 kB / 1.358 GB, free: 3.25 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.4368, allocations: 0.6806 MB / 1.358 GB, free: 2.543 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.18e-05/0.4369, allocations: 0 / 1.358 GB, free: 2.543 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.4369, allocations: 11.44 kB / 1.358 GB, free: 2.531 MB / 1.045 GB Notification: Performance of SimCode: time 4.81e-07/0.4369, allocations: 4.062 kB / 1.358 GB, free: 2.527 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.4652, allocations: 1.383 MB / 1.36 GB, free: 1.27 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.63, allocations: 10.19 kB / 1.36 GB, free: 1.262 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.79409613297321]