Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Integers.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.622/2.622, allocations: 469.4 MB / 0.742 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 68.08 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2621, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001979/0.2641, allocations: 0.7782 MB / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009042/0.2651, allocations: 0.8756 MB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.1e-05/0.2651, allocations: 0 / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.2652, allocations: 3.938 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.452e-05/0.2653, allocations: 11.86 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.2655, allocations: 39.95 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.2656, allocations: 79.83 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.2657, allocations: 23.98 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.502e-05/0.2658, allocations: 47.83 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.043e-05/0.2659, allocations: 43.83 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.2659, allocations: 8 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.964e-05/0.266, allocations: 8 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.571e-05/0.266, allocations: 27.91 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.2661, allocations: 35.73 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.2662, allocations: 83.72 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2662, allocations: 4 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2662, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2662, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006084/0.2668, allocations: 391.5 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.2669, allocations: 12.03 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.088e-05/0.2669, allocations: 38.75 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.267, allocations: 8.844 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.2671, allocations: 176.2 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.2671, allocations: 8.375 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.2672, allocations: 8.375 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.2675, allocations: 109.5 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.2675, allocations: 0 / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.2675, allocations: 0 / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2675, allocations: 0 / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003873/0.2679, allocations: 107.9 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.2684, allocations: 336.7 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005897/0.269, allocations: 126.5 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.2692, allocations: 52.81 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.2693, allocations: 4 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.2693, allocations: 38.48 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 2.425e-06/0.2693, allocations: 3.984 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006343/0.2699, allocations: 189.4 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.27, allocations: 51.41 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.723e-05/0.2701, allocations: 129.7 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.2701, allocations: 25.7 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.2701, allocations: 104 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.2702, allocations: 15.8 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/0.2702, allocations: 25.7 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.2703, allocations: 314.8 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.2705, allocations: 43.95 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.2707, allocations: 47.95 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.271, allocations: 101.2 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2711, allocations: 0 / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004045/0.2715, allocations: 145.4 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2715, allocations: 8 kB / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2715, allocations: 0 / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.2715, allocations: 4 kB / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.2717, allocations: 23.97 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.2717, allocations: 0 / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.2718, allocations: 19.92 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.2718, allocations: 0 / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.964e-05/0.2719, allocations: 113.8 kB / 1.068 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.272, allocations: 15.89 kB / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004527/0.2724, allocations: 145.9 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2724, allocations: 0 / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2724, allocations: 4 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2725, allocations: 3.938 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.2726, allocations: 205.5 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2727, allocations: 0 / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.2728, allocations: 23.97 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.2728, allocations: 4 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.2728, allocations: 4 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.2729, allocations: 0 / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2729, allocations: 3.938 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.2733, allocations: 243.2 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.2734, allocations: 89 kB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.2734, allocations: 0 / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.2736, allocations: 11.98 kB / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-05/0.2736, allocations: 23.91 kB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.2737, allocations: 8 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.854e-05/0.2737, allocations: 99.64 kB / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2737, allocations: 3.938 kB / 1.069 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002319/0.274, allocations: 12 kB / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0007536/0.2747, allocations: 0.7753 MB / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004215/0.2752, allocations: 107.9 kB / 1.07 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2752, allocations: 0 / 1.07 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.2754, allocations: 63.89 kB / 1.07 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.2757, allocations: 19.92 kB / 1.07 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.2777, allocations: 1.534 MB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.2779, allocations: 0.6924 MB / 1.072 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.538e-05/0.278, allocations: 8 kB / 1.072 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.394e-05/0.2781, allocations: 31.42 kB / 1.072 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2781, allocations: 0 / 1.072 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.2957, allocations: 2.653 MB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.119/7.415, allocations: 9.719 kB / 1.075 GB, free: 2.551 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches