Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.0008133/0.0008133, 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.000847/0.000847, 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.9097/0.9097, 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.773/1.773, allocations: 389 MB / 0.633 GB, free: 12.67 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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 3.938 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.939e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.00121/0.001229, allocations: 0.5441 MB / 1 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 3.611e-05/0.001265, allocations: 4 kB / 1 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.256e-05/0.001288, allocations: 4 kB / 1 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/0.001311, allocations: 0 / 1 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.326e-05/0.001334, allocations: 0 / 1 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 2.602e-05/0.00136, allocations: 3.938 kB / 1 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.981e-05/0.00141, allocations: 7.922 kB / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.001452, allocations: 4 kB / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.638e-05/0.001478, allocations: 0 / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 1.702e-05/0.001495, allocations: 7.938 kB / 1 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.001513, allocations: 0 / 1 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.026e-06/0.001516, allocations: 0 / 1 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.001527, allocations: 0 / 1 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.493e-05/0.001541, allocations: 0 / 1 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 5.319e-05/0.001595, allocations: 11.98 kB / 1 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.001596, allocations: 0 / 1 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.61e-07/0.001597, allocations: 0 / 1 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.001601, allocations: 0 / 1 GB, free: 12.91 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002052/0.001806, allocations: 234.5 kB / 1 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.001841, allocations: 8.75 kB / 1 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.573e-05/0.001867, allocations: 34.75 kB / 1.001 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.551e-05/0.001882, allocations: 0.9375 kB / 1.001 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.395e-05/0.001946, allocations: 105.8 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-06/0.001955, allocations: 384 / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-06/0.001961, allocations: 384 / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.844e-05/0.00203, allocations: 34.27 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.002036, allocations: 192 / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.002044, allocations: 4.359 kB / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.002048, allocations: 8.062 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.296e-05/0.002061, allocations: 0 / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000229/0.00229, allocations: 358.5 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.783e-05/0.002348, allocations: 169.2 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.192e-05/0.00237, allocations: 80.14 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.002389, allocations: 79.22 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.002429, allocations: 117.8 kB / 1.001 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 6.41e-07/0.00243, allocations: 0 / 1.001 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.238e-05/0.002482, allocations: 29.66 kB / 1.001 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.002524, allocations: 130.7 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.934e-05/0.002583, allocations: 93.86 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.00259, allocations: 25.7 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.85e-05/0.002609, allocations: 84.27 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.00261, allocations: 0 / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/0.002627, allocations: 13.72 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.951e-05/0.002697, allocations: 314.8 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.609e-06/0.002702, allocations: 0 / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-06/0.002706, allocations: 7.938 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.793e-05/0.002724, allocations: 75.28 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-05/0.002741, allocations: 79.28 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.282e-05/0.002773, allocations: 33.64 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.0028, allocations: 83.28 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.002817, allocations: 75.28 kB / 1.002 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.929e-05/0.002856, allocations: 162.4 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.534e-05/0.002872, allocations: 76.06 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.265e-05/0.002904, allocations: 162.5 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.044e-05/0.002945, allocations: 75.28 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.002962, allocations: 79.28 kB / 1.003 GB, free: 9.926 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 (0): * Single equations (assignments): 0 * 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 7.55e-05/0.003037, allocations: 264.3 kB / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.003071, allocations: 109 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.003106, allocations: 108.1 kB / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.952e-05/0.003145, allocations: 184.4 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.259e-05/0.003188, allocations: 176.3 kB / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.32e-05/0.003231, allocations: 196.2 kB / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.003369, allocations: 368.3 kB / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.317e-05/0.003392, allocations: 105 kB / 1.004 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-05/0.003416, allocations: 104.9 kB / 1.004 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.012e-05/0.003456, allocations: 184.2 kB / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.003497, allocations: 192.1 kB / 1.005 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.886e-05/0.003536, allocations: 176.3 kB / 1.005 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-05/0.003575, allocations: 180.2 kB / 1.005 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.397e-05/0.003669, allocations: 303.8 kB / 1.005 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.00371, allocations: 112.9 kB / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/0.00376, allocations: 180.2 kB / 1.006 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.855e-05/0.003808, allocations: 113 kB / 1.006 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.003857, allocations: 180.2 kB / 1.006 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.003881, allocations: 101 kB / 1.006 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.129e-05/0.003912, allocations: 83.28 kB / 1.006 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.003912, allocations: 0 / 1.006 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001628/0.004075, allocations: 0 / 1.006 GB, free: 6.375 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 (0): * Single equations (assignments): 0 * 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.0002707/0.004346, allocations: 0.8047 MB / 1.007 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 3.94e-05/0.004385, allocations: 0 / 1.007 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.004387, allocations: 4.094 kB / 1.007 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.004388, allocations: 0 / 1.007 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.004646, allocations: 459.7 kB / 1.007 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000807/0.005453, allocations: 1.525 MB / 1.009 GB, free: 3.48 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.717e-05/0.00549, allocations: 59.34 kB / 1.009 GB, free: 3.402 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.203e-06/0.005497, allocations: 0 / 1.009 GB, free: 3.402 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/0.005521, allocations: 8.5 kB / 1.009 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of SimCode: time 6.52e-07/0.005522, allocations: 0 / 1.009 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01258/0.0181, allocations: 1.554 MB / 1.011 GB, free: 1.977 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.76/6.778, allocations: 10.48 kB / 1.011 GB, free: 1.969 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_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_Integers_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.960026843473315]