Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.0008287/0.0008287, 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.0008088/0.0008088, 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.8601/0.8601, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.68/1.68, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Min,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 0.981 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.904e-05, allocations: 2.281 kB / 0.981 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.00119/0.001209, allocations: 0.695 MB / 0.9817 GB, free: 1.828 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009623/0.002171, allocations: 0.8315 MB / 0.9825 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.002204, allocations: 8 kB / 0.9825 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.572e-05/0.00223, allocations: 3.938 kB / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.661e-05/0.002287, allocations: 7.922 kB / 0.9825 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 9.573e-05/0.002383, allocations: 15.92 kB / 0.9825 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.305e-05/0.002456, allocations: 43.86 kB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.002549, allocations: 7.984 kB / 0.9826 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.93e-05/0.002618, allocations: 27.92 kB / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.767e-05/0.002656, allocations: 15.97 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.002685, allocations: 4 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-06/0.002693, allocations: 4 kB / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.002711, allocations: 15.92 kB / 0.9827 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.002732, allocations: 8 kB / 0.9827 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.223e-05/0.002814, allocations: 43.86 kB / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.002816, allocations: 0 / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.91e-07/0.002817, allocations: 0 / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.002821, allocations: 0 / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003287/0.003149, allocations: 278.3 kB / 0.983 GB, free: 488 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.003184, allocations: 12.03 kB / 0.983 GB, free: 476 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.681e-05/0.003211, allocations: 30.75 kB / 0.983 GB, free: 436 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.12e-05/0.003232, allocations: 16.89 kB / 0.983 GB, free: 420 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.497e-05/0.003307, allocations: 125.6 kB / 0.9832 GB, free: 268 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.003316, allocations: 4.375 kB / 0.9832 GB, free: 264 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.003323, allocations: 384 / 0.9832 GB, free: 264 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.00347, allocations: 70.22 kB / 0.9832 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.003476, allocations: 192 / 0.9832 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.475e-06/0.003484, allocations: 384 / 0.9832 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.003489, allocations: 4.125 kB / 0.9832 GB, free: 184 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.003631, allocations: 67.92 kB / 0.9833 GB, free: 116 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.003912, allocations: 228 kB / 0.9835 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.004025, allocations: 58.53 kB / 0.9836 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.897e-05/0.004094, allocations: 32.92 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.004115, allocations: 15.92 kB / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.004131, allocations: 30.56 kB / 0.9836 GB, free: 15.69 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 6.32e-07/0.004131, allocations: 3.938 kB / 0.9836 GB, free: 15.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0002836/0.004415, allocations: 125.5 kB / 0.9838 GB, free: 15.56 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.004445, allocations: 51.41 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.608e-05/0.004501, allocations: 109.8 kB / 0.9839 GB, free: 15.38 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.004511, allocations: 33.7 kB / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.004543, allocations: 88.08 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.004561, allocations: 15.89 kB / 0.9841 GB, free: 15.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.004583, allocations: 9.719 kB / 0.9841 GB, free: 15.22 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.004655, allocations: 318.8 kB / 0.9844 GB, free: 14.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.907e-05/0.004724, allocations: 31.95 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.175e-05/0.004786, allocations: 27.97 kB / 0.9844 GB, free: 14.84 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.00491, allocations: 72.72 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.004912, allocations: 0 / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00015/0.005062, allocations: 105.5 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.005074, allocations: 8 kB / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.00508, allocations: 7.984 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.005092, allocations: 0 / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.732e-05/0.005169, allocations: 15.98 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.005175, allocations: 0 / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/0.005208, allocations: 11.94 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.005214, allocations: 4 kB / 0.9846 GB, free: 14.61 MB / 0.948 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 (3): * Single equations (assignments): 3 * 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.144e-05/0.005265, allocations: 109.8 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.005279, allocations: 7.938 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.005461, allocations: 109.9 kB / 0.9849 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.005464, allocations: 4.031 kB / 0.9849 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.005469, allocations: 3.984 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005472, allocations: 0 / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.005578, allocations: 132.8 kB / 0.985 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.005579, allocations: 0 / 0.985 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/0.005618, allocations: 19.92 kB / 0.985 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.005619, allocations: 4 kB / 0.985 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.005626, allocations: 4 kB / 0.985 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.005628, allocations: 0 / 0.985 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005629, allocations: 0 / 0.985 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.005803, allocations: 199.4 kB / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.005811, allocations: 11.94 kB / 0.9852 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.00582, allocations: 0 / 0.9852 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.758e-05/0.005868, allocations: 15.98 kB / 0.9852 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.005901, allocations: 3.984 kB / 0.9852 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.005904, allocations: 7.938 kB / 0.9852 GB, free: 13.91 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.93e-05/0.005933, allocations: 91.56 kB / 0.9853 GB, free: 13.82 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005933, allocations: 0 / 0.9853 GB, free: 13.82 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001381/0.006071, allocations: 11.94 kB / 0.9853 GB, free: 13.81 MB / 0.948 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 (3): * Single equations (assignments): 3 * 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.0003548/0.006426, allocations: 0.7241 MB / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001833/0.006609, allocations: 75.84 kB / 0.9861 GB, free: 12.98 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.006611, allocations: 0 / 0.9861 GB, free: 12.98 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.594e-05/0.006677, allocations: 31.97 kB / 0.9862 GB, free: 12.95 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.006867, allocations: 15.94 kB / 0.9862 GB, free: 12.94 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.007172, allocations: 146.4 kB / 0.9863 GB, free: 12.75 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.887e-05/0.00721, allocations: 67.28 kB / 0.9864 GB, free: 12.67 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.811e-05/0.007229, allocations: 0 / 0.9864 GB, free: 12.67 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.007269, allocations: 24.48 kB / 0.9864 GB, free: 12.64 MB / 0.948 GB Notification: Performance of SimCode: time 3.61e-07/0.00727, allocations: 0 / 0.9864 GB, free: 12.64 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01398/0.02125, allocations: 2.323 MB / 0.9887 GB, free: 10.46 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.852/6.874, allocations: 4.625 kB / 0.9887 GB, free: 10.46 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable min1.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv. Warning: Get data of variable min1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv failed! Error: Could not read variable min1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv. Warning: Get data of variable min1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.890324802137911]