Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001264/0.001264, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 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.001477/0.001477, allocations: 218 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.356/3.356, allocations: 0.49 GB / 0.7959 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 72.75 kB / 1.155 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3689, allocations: 176.1 MB / 1.327 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001777/0.3707, allocations: 0.5527 MB / 1.327 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.357e-05/0.3707, allocations: 7.938 kB / 1.327 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.465e-05/0.3707, allocations: 0 / 1.327 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.3708, allocations: 0 / 1.327 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.129e-05/0.3708, allocations: 4 kB / 1.327 GB, free: 1.297 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.639e-05/0.3708, allocations: 0 / 1.327 GB, free: 1.297 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.696e-05/0.3709, allocations: 4 kB / 1.327 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.741e-05/0.371, allocations: 3.984 kB / 1.327 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.51e-05/0.371, allocations: 0 / 1.327 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.835e-05/0.371, allocations: 4 kB / 1.327 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.371, allocations: 0 / 1.327 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.947e-06/0.371, allocations: 0 / 1.327 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.371, allocations: 3.984 kB / 1.327 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.3711, allocations: 7.938 kB / 1.327 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 5.71e-05/0.3711, allocations: 0 / 1.327 GB, free: 1.273 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3711, allocations: 0 / 1.327 GB, free: 1.273 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3711, allocations: 0 / 1.327 GB, free: 1.273 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.3711, allocations: 8 kB / 1.327 GB, free: 1.266 MB / 1.014 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.0003631/0.3715, allocations: 234.7 kB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3715, allocations: 12.06 kB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.436e-05/0.3716, allocations: 192 / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.3716, allocations: 30.75 kB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.3716, allocations: 8.875 kB / 1.328 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.3718, allocations: 106.5 kB / 1.328 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3718, allocations: 384 / 1.328 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.3718, allocations: 4.375 kB / 1.328 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.3719, allocations: 30.02 kB / 1.328 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3719, allocations: 7.938 kB / 1.328 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.3719, allocations: 0 / 1.328 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3719, allocations: 0 / 1.328 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.841e-05/0.3719, allocations: 3.984 kB / 1.328 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.3723, allocations: 358.4 kB / 1.328 GB, free: 380 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.3724, allocations: 169.5 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.595e-05/0.3725, allocations: 80.14 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.491e-05/0.3725, allocations: 83.27 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.038e-05/0.3726, allocations: 110 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.3726, allocations: 0 / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.49e-05/0.3727, allocations: 37.64 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/0.3728, allocations: 126.7 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.929e-05/0.3729, allocations: 93.86 kB / 1.329 GB, free: 15.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.3729, allocations: 29.64 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.373, allocations: 84.14 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.373, allocations: 0 / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.373, allocations: 13.72 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3732, allocations: 318.9 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.531e-06/0.3732, allocations: 0 / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-06/0.3732, allocations: 0 / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.733e-05/0.3732, allocations: 83.22 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.681e-05/0.3733, allocations: 75.28 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.99e-05/0.3733, allocations: 33.64 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.181e-05/0.3734, allocations: 79.28 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.982e-05/0.3734, allocations: 75.28 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/0.3735, allocations: 162.5 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.832e-05/0.3736, allocations: 83.22 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.338e-05/0.3736, allocations: 154.5 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.783e-05/0.3737, allocations: 79.22 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.3738, allocations: 79.28 kB / 1.33 GB, free: 14.27 MB / 1.029 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.0002032/0.374, allocations: 264.9 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.3741, allocations: 101 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.611e-05/0.3742, allocations: 112.1 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.893e-05/0.3743, allocations: 184.2 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.258e-05/0.3744, allocations: 180.2 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.98e-05/0.3745, allocations: 176.3 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.3748, allocations: 384.2 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.502e-05/0.3748, allocations: 108.9 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.362e-05/0.3749, allocations: 101 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-05/0.375, allocations: 180.2 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.109e-05/0.3751, allocations: 180.3 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.178e-05/0.3751, allocations: 180.5 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.142e-05/0.3752, allocations: 188.2 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.3754, allocations: 311.7 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.3754, allocations: 105 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.3755, allocations: 188.2 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.585e-05/0.3756, allocations: 105 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.3757, allocations: 176.3 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.495e-05/0.3758, allocations: 108.9 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.273e-05/0.3758, allocations: 79.22 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3758, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002545/0.3761, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 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.0005264/0.3766, allocations: 0.8088 MB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.62e-05/0.3767, allocations: 3.938 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3767, allocations: 0 / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.3767, allocations: 0 / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.3771, allocations: 467.7 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.3783, allocations: 1.524 MB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.3786, allocations: 0.6768 MB / 1.337 GB, free: 7.117 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.654e-06/0.3786, allocations: 0 / 1.337 GB, free: 7.117 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.3786, allocations: 7.438 kB / 1.337 GB, free: 7.109 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.3786, allocations: 0 / 1.337 GB, free: 7.109 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.4025, allocations: 1.049 MB / 1.338 GB, free: 6.211 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.51, allocations: 10.11 kB / 1.338 GB, free: 6.203 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.610331595002208]