Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.001666/0.001666, allocations: 107.6 kB / 16.45 MB, free: 6.035 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.00183/0.00183, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.508/1.508, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.796/2.796, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Log,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 68.12 kB / 1.104 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7912/0.7933, allocations: 168.7 MB / 1.269 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002055/0.7953, allocations: 0.6681 MB / 1.269 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.7964, allocations: 0.8 MB / 1.27 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.442e-05/0.7964, allocations: 0 / 1.27 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.7965, allocations: 0 / 1.27 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.989e-05/0.7965, allocations: 7.922 kB / 1.27 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.7967, allocations: 11.98 kB / 1.27 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.5e-05/0.7968, allocations: 23.92 kB / 1.27 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.935e-05/0.7969, allocations: 4 kB / 1.27 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.007e-05/0.7969, allocations: 15.92 kB / 1.27 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.04e-05/0.797, allocations: 8 kB / 1.27 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.797, allocations: 4 kB / 1.27 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.675e-06/0.797, allocations: 0 / 1.27 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.797, allocations: 7.984 kB / 1.27 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.797, allocations: 7.938 kB / 1.27 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.455e-05/0.7971, allocations: 25.72 kB / 1.27 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.7971, allocations: 0 / 1.27 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7971, allocations: 0 / 1.27 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.7971, allocations: 0 / 1.27 GB, free: 3.703 MB / 0.9669 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.0004882/0.7976, allocations: 347.4 kB / 1.271 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.7977, allocations: 8.031 kB / 1.271 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.262e-05/0.7977, allocations: 30.75 kB / 1.271 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.7977, allocations: 8.891 kB / 1.271 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.7979, allocations: 172.3 kB / 1.271 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.7979, allocations: 384 / 1.271 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.7979, allocations: 384 / 1.271 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.7981, allocations: 50.23 kB / 1.271 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.7981, allocations: 3.938 kB / 1.271 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.7981, allocations: 7.984 kB / 1.271 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.7981, allocations: 4 kB / 1.271 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.7983, allocations: 27.97 kB / 1.271 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.7987, allocations: 244.9 kB / 1.271 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.7988, allocations: 46.48 kB / 1.271 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.643e-05/0.7989, allocations: 24.91 kB / 1.271 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.7989, allocations: 0 / 1.271 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.7989, allocations: 34.56 kB / 1.271 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.7989, allocations: 0 / 1.271 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003662/0.7993, allocations: 85.64 kB / 1.271 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.7994, allocations: 55.41 kB / 1.271 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.729e-05/0.7994, allocations: 101.8 kB / 1.272 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.7995, allocations: 29.64 kB / 1.272 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.7995, allocations: 88.09 kB / 1.272 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.7995, allocations: 7.953 kB / 1.272 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.7996, allocations: 9.719 kB / 1.272 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.7997, allocations: 318.8 kB / 1.272 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.263e-05/0.7998, allocations: 19.98 kB / 1.272 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.7999, allocations: 11.98 kB / 1.272 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.8, allocations: 40.83 kB / 1.272 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.8, allocations: 3.938 kB / 1.272 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001958/0.8002, allocations: 77.66 kB / 1.272 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.8002, allocations: 4 kB / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.8003, allocations: 0 / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.8003, allocations: 0 / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.869e-05/0.8004, allocations: 11.98 kB / 1.272 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.8004, allocations: 0 / 1.272 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.708e-05/0.8004, allocations: 7.984 kB / 1.272 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.8004, allocations: 0 / 1.272 GB, free: 1.621 MB / 0.9669 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 8.256e-05/0.8005, allocations: 113.8 kB / 1.272 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.8005, allocations: 4 kB / 1.272 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.8008, allocations: 72.72 kB / 1.272 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.8008, allocations: 0 / 1.272 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.8008, allocations: 0 / 1.272 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.8008, allocations: 4 kB / 1.272 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.8009, allocations: 161.6 kB / 1.272 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8009, allocations: 0 / 1.272 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.963e-05/0.801, allocations: 12.02 kB / 1.273 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.801, allocations: 0 / 1.273 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.801, allocations: 0 / 1.273 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.801, allocations: 4 kB / 1.273 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.801, allocations: 0 / 1.273 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.8012, allocations: 167.4 kB / 1.273 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.8013, allocations: 85.08 kB / 1.273 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.8013, allocations: 0 / 1.273 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.8014, allocations: 11.92 kB / 1.273 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.8014, allocations: 0 / 1.273 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.8014, allocations: 0 / 1.273 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.643e-05/0.8015, allocations: 83.28 kB / 1.273 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.8015, allocations: 0 / 1.273 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002185/0.8017, allocations: 4 kB / 1.273 GB, free: 0.8125 MB / 0.9669 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.0006443/0.8023, allocations: 0.7012 MB / 1.274 GB, free: 84 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.8025, allocations: 39.84 kB / 1.274 GB, free: 44 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8025, allocations: 4.094 kB / 1.274 GB, free: 40 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.836e-05/0.8026, allocations: 15.98 kB / 1.274 GB, free: 24 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.8029, allocations: 11.98 kB / 1.274 GB, free: 12 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004818/0.8034, allocations: 135.1 kB / 1.274 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.8037, allocations: 0.6732 MB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.529e-05/0.8037, allocations: 3.984 kB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.8038, allocations: 11.5 kB / 1.274 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.8038, allocations: 0 / 1.274 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.8263, allocations: 1.297 MB / 1.276 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.025/8.852, allocations: 7.516 kB / 1.276 GB, free: 13.91 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Log.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.985700299963355]