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.001037/0.001037, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001269/0.001269, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8889/0.8889, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.784/1.784, allocations: 389 MB / 0.633 GB, free: 12.72 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.895e-06/2.895e-06, allocations: 3.938 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.68e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.00134/0.001367, allocations: 0.6703 MB / 1 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.002367, allocations: 0.8392 MB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.0024, allocations: 0 / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.00243, allocations: 0 / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.861e-05/0.002488, allocations: 0 / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.002681, allocations: 15.92 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.645e-05/0.002757, allocations: 31.92 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.091e-05/0.002848, allocations: 4 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.711e-05/0.002915, allocations: 15.92 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.474e-05/0.00295, allocations: 7.984 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.002966, allocations: 0 / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.494e-05/0.003011, allocations: 4 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.003027, allocations: 11.98 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.564e-05/0.003043, allocations: 0 / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.00315, allocations: 27.91 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.003152, allocations: 0 / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.895e-06/0.003155, allocations: 3.984 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.003161, allocations: 4 kB / 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.0003431/0.003505, allocations: 262.3 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.003547, allocations: 12.73 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.841e-05/0.003575, allocations: 30.75 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.203e-05/0.003637, allocations: 4.938 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.461e-05/0.003712, allocations: 109.8 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.003723, allocations: 4.312 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.003731, allocations: 4.375 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.003854, allocations: 50.23 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.003861, allocations: 4.188 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.003868, allocations: 384 / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.003874, allocations: 4.125 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.697e-05/0.003961, allocations: 35.95 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.004232, allocations: 216 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.291e-05/0.004315, allocations: 42.48 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.422e-05/0.004359, allocations: 16.91 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.004376, allocations: 4 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.004397, allocations: 38.5 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.004398, allocations: 0 / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002209/0.004619, allocations: 77.64 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.004649, allocations: 55.41 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.468e-05/0.004703, allocations: 105.8 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.004713, allocations: 25.7 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.004745, allocations: 84.27 kB / 1.002 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.004762, allocations: 15.83 kB / 1.002 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.004787, allocations: 13.72 kB / 1.002 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.31e-05/0.00486, allocations: 314.8 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.404e-05/0.004904, allocations: 19.97 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.4e-05/0.004938, allocations: 11.98 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.736e-05/0.005015, allocations: 40.89 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005017, allocations: 0 / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001006/0.005118, allocations: 69.59 kB / 1.003 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.005129, allocations: 4 kB / 1.003 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.005133, allocations: 3.938 kB / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.005143, allocations: 0 / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-05/0.005207, allocations: 11.98 kB / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.005212, allocations: 0 / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.005235, allocations: 12.03 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.00524, allocations: 0 / 1.003 GB, free: 9.938 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 5.274e-05/0.005293, allocations: 117.8 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.005306, allocations: 7.891 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.005445, allocations: 69.16 kB / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.005448, allocations: 7.984 kB / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.005453, allocations: 0 / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.005455, allocations: 0 / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.563e-05/0.00555, allocations: 128.8 kB / 1.003 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.005552, allocations: 0 / 1.003 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.005584, allocations: 11.98 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.005587, allocations: 3.938 kB / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.005593, allocations: 3.938 kB / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.005594, allocations: 0 / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.005596, allocations: 0 / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.00572, allocations: 155.5 kB / 1.003 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-06/0.005727, allocations: 7.938 kB / 1.003 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-06/0.005736, allocations: 4.031 kB / 1.003 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.714e-05/0.005773, allocations: 7.984 kB / 1.003 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.005805, allocations: 4 kB / 1.003 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.005808, allocations: 4 kB / 1.003 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.537e-05/0.005834, allocations: 79.28 kB / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005834, allocations: 0 / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001385/0.005972, allocations: 7.938 kB / 1.004 GB, free: 9.25 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.0003204/0.006293, allocations: 0.7045 MB / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.006417, allocations: 31.97 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.006418, allocations: 0 / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.025e-05/0.006458, allocations: 19.98 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.0002442/0.006702, allocations: 7.922 kB / 1.004 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.007058, allocations: 143.3 kB / 1.004 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.709e-05/0.007105, allocations: 63.34 kB / 1.004 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.371e-05/0.007129, allocations: 0 / 1.004 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.007171, allocations: 12.5 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of SimCode: time 5.21e-07/0.007171, allocations: 0 / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.02432, allocations: 1.945 MB / 1.006 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.681/6.705, allocations: 1.875 kB / 1.006 GB, free: 6.375 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable log1.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.csv. Warning: Get data of variable log1.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.907219326123595]