Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 225.6 MB / 249.3 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.322/2.322, allocations: 443.5 MB / 0.7304 GB, free: 14.11 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Sources.Validation.Constant,fileNamePrefix="Buildings_10_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_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 67.89 kB / 1.059 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2608, allocations: 160.7 MB / 1.216 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001681/0.2625, allocations: 0.5527 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 3.697e-05/0.2625, allocations: 4 kB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.308e-05/0.2625, allocations: 0 / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.217e-05/0.2626, allocations: 0 / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.108e-05/0.2626, allocations: 0 / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 2.867e-05/0.2626, allocations: 0 / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.155e-05/0.2627, allocations: 11.94 kB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.2627, allocations: 0 / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.331e-05/0.2627, allocations: 7.922 kB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.866e-05/0.2627, allocations: 3.984 kB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.2628, allocations: 0 / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.175e-06/0.2628, allocations: 4 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.2628, allocations: 3.938 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.2628, allocations: 4 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.167e-05/0.2628, allocations: 0 / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2628, allocations: 0 / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.133e-06/0.2628, allocations: 0 / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2629, allocations: 4 kB / 1.216 GB, free: 15.35 MB / 0.9669 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.0003072/0.2632, allocations: 319.8 kB / 1.216 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.2632, allocations: 12.03 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.134e-05/0.2632, allocations: 30.75 kB / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.846e-05/0.2632, allocations: 0.9375 kB / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.2634, allocations: 160.4 kB / 1.217 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.635e-06/0.2634, allocations: 384 / 1.217 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.2634, allocations: 4.375 kB / 1.217 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.379e-05/0.2635, allocations: 34.27 kB / 1.217 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2635, allocations: 7.875 kB / 1.217 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.2635, allocations: 0 / 1.217 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2635, allocations: 0 / 1.217 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.479e-05/0.2635, allocations: 0 / 1.217 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.2638, allocations: 379.5 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.044e-05/0.2639, allocations: 177 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/0.2639, allocations: 88.11 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.264, allocations: 75.28 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/0.264, allocations: 109.8 kB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.264, allocations: 0 / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 6.629e-05/0.2641, allocations: 29.7 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.2642, allocations: 130.7 kB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.351e-05/0.2642, allocations: 93.86 kB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.2643, allocations: 25.7 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/0.2643, allocations: 80.14 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.2643, allocations: 0 / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.2643, allocations: 13.72 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2644, allocations: 318.8 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-06/0.2644, allocations: 3.938 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.347e-06/0.2644, allocations: 4.125 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.729e-05/0.2645, allocations: 75.28 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-05/0.2645, allocations: 79.22 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.182e-05/0.2646, allocations: 29.7 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/0.2646, allocations: 79.28 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.082e-05/0.2646, allocations: 83.22 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.651e-05/0.2647, allocations: 154.5 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.879e-05/0.2647, allocations: 79.28 kB / 1.219 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.663e-05/0.2648, allocations: 158.5 kB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.1e-05/0.2648, allocations: 79.28 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.2649, allocations: 79.28 kB / 1.219 GB, free: 12.18 MB / 0.9669 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 0.0001128/0.265, allocations: 264.3 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.01e-05/0.265, allocations: 105.7 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.822e-05/0.2651, allocations: 108.1 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.429e-05/0.2652, allocations: 192.2 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.775e-05/0.2652, allocations: 180.3 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-05/0.2653, allocations: 180.2 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.2656, allocations: 405.4 kB / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.84e-05/0.2656, allocations: 105 kB / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.2656, allocations: 109 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.03e-05/0.2657, allocations: 184.3 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/0.2658, allocations: 180.2 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.539e-05/0.2658, allocations: 180.2 kB / 1.221 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.55e-05/0.2659, allocations: 184.2 kB / 1.221 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.266, allocations: 307.7 kB / 1.222 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.2661, allocations: 186 kB / 1.222 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.351e-05/0.2662, allocations: 180.2 kB / 1.222 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.331e-05/0.2663, allocations: 101 kB / 1.222 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/0.2663, allocations: 184.2 kB / 1.222 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/0.2664, allocations: 113 kB / 1.222 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.87e-05/0.2664, allocations: 75.28 kB / 1.222 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.2664, allocations: 0 / 1.222 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002261/0.2667, allocations: 0 / 1.222 GB, free: 8.504 MB / 0.9669 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.0004245/0.2671, allocations: 0.8204 MB / 1.223 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 3.549e-05/0.2671, allocations: 0 / 1.223 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2671, allocations: 0 / 1.223 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.2671, allocations: 0 / 1.223 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.2675, allocations: 463.6 kB / 1.224 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.2685, allocations: 1.528 MB / 1.225 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.2687, allocations: 0.6729 MB / 1.226 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.521e-06/0.2687, allocations: 0 / 1.226 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.151e-05/0.2687, allocations: 11.44 kB / 1.226 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of SimCode: time 5.61e-07/0.2687, allocations: 3.938 kB / 1.226 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.2903, allocations: 0.8848 MB / 1.227 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.915/7.205, allocations: 16.94 kB / 1.227 GB, free: 4.059 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.331648171995766]