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.0008618/0.0008618, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008918/0.0008918, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8955/0.8955, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.736/1.736, 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.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: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.089e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001236/0.001257, allocations: 0.6522 MB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008175/0.002074, allocations: 0.8393 MB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.108e-05/0.002105, allocations: 4 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.262e-05/0.002138, allocations: 3.938 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.392e-05/0.002192, allocations: 0 / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.002371, allocations: 19.86 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.294e-05/0.002434, allocations: 27.86 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.896e-05/0.002523, allocations: 7.984 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.318e-05/0.002586, allocations: 15.92 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.221e-05/0.002618, allocations: 11.98 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.002631, allocations: 0 / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.525e-05/0.002667, allocations: 4 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.00268, allocations: 8 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.471e-05/0.002695, allocations: 4 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.397e-05/0.002789, allocations: 35.88 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.002791, allocations: 0 / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.022e-06/0.002792, allocations: 0 / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.002796, allocations: 0 / 1.001 GB, free: 11.8 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003219/0.003118, allocations: 262.3 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.003158, allocations: 12.75 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002947/0.003453, allocations: 30.75 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/0.003515, allocations: 0.9375 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.271e-05/0.003597, allocations: 109.8 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.003608, allocations: 384 / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.003618, allocations: 8.375 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.00374, allocations: 46.17 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.003746, allocations: 192 / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.003755, allocations: 8.375 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.003761, allocations: 4.125 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.321e-05/0.003844, allocations: 31.95 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002829/0.004127, allocations: 220 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.718e-05/0.004204, allocations: 38.59 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.327e-05/0.004247, allocations: 24.84 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.004264, allocations: 0 / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.004283, allocations: 38.5 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.004283, allocations: 0 / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002069/0.00449, allocations: 81.73 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.004518, allocations: 55.41 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.186e-05/0.00457, allocations: 101.8 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.004579, allocations: 25.7 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.004608, allocations: 80.14 kB / 1.002 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.004622, allocations: 3.953 kB / 1.002 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.111e-05/0.004643, allocations: 13.72 kB / 1.002 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.963e-05/0.004713, allocations: 318.8 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.98e-05/0.004752, allocations: 19.92 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.004787, allocations: 20.02 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.177e-05/0.004858, allocations: 40.77 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.00486, allocations: 3.938 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.782e-05/0.004958, allocations: 69.59 kB / 1.003 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.00497, allocations: 4 kB / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.004975, allocations: 4.094 kB / 1.003 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.004988, allocations: 0 / 1.003 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.176e-05/0.00505, allocations: 11.98 kB / 1.003 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.005054, allocations: 0 / 1.003 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.296e-05/0.005077, allocations: 7.984 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.005082, allocations: 3.938 kB / 1.003 GB, free: 9.934 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 (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.913e-05/0.005132, allocations: 109.8 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.005145, allocations: 7.938 kB / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.00527, allocations: 72.92 kB / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.005272, allocations: 192 / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.005275, allocations: 0 / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.005279, allocations: 7.984 kB / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.219e-05/0.005371, allocations: 124.8 kB / 1.003 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.005372, allocations: 0 / 1.003 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.005396, allocations: 7.984 kB / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.005399, allocations: 3.938 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.005405, allocations: 4 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.005406, allocations: 0 / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.005407, allocations: 4.031 kB / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.005529, allocations: 163.5 kB / 1.003 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-06/0.005535, allocations: 3.938 kB / 1.003 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.005544, allocations: 4 kB / 1.003 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.544e-05/0.00558, allocations: 3.984 kB / 1.003 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.005611, allocations: 4 kB / 1.003 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.005614, allocations: 4 kB / 1.003 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.507e-05/0.005639, allocations: 87.27 kB / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.005639, allocations: 4.031 kB / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001378/0.005777, allocations: 4 kB / 1.004 GB, free: 9.246 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 (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.0002994/0.006077, allocations: 0.6967 MB / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.00619, allocations: 35.97 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.006191, allocations: 96 / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.774e-05/0.006229, allocations: 19.97 kB / 1.004 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.006431, allocations: 11.94 kB / 1.004 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.006738, allocations: 127.3 kB / 1.004 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.921e-05/0.006777, allocations: 59.34 kB / 1.004 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.78e-05/0.006795, allocations: 7.938 kB / 1.004 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.006828, allocations: 8.5 kB / 1.004 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.006829, allocations: 3.938 kB / 1.004 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01349/0.02031, allocations: 1.961 MB / 1.006 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.446/6.466, allocations: 6.094 kB / 1.006 GB, free: 6.363 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.481349400244653]