Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008195/0.0008195, 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.0007995/0.0007995, allocations: 170.3 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.9081/0.9081, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.656/1.656, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.106e-06/3.106e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.954e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001318/0.001347, allocations: 0.5546 MB / 0.951 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 3.941e-05/0.001387, allocations: 3.984 kB / 0.951 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.28e-05/0.00141, allocations: 0 / 0.951 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.001435, allocations: 0 / 0.951 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.48e-05/0.001459, allocations: 0 / 0.951 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 2.913e-05/0.001488, allocations: 0 / 0.951 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.62e-05/0.001545, allocations: 11.94 kB / 0.9511 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.001591, allocations: 4 kB / 0.9511 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.901e-05/0.00162, allocations: 3.984 kB / 0.9511 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 1.716e-05/0.001638, allocations: 0 / 0.9511 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.001656, allocations: 0 / 0.9511 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.697e-06/0.00166, allocations: 0 / 0.9511 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.001673, allocations: 7.938 kB / 0.9511 GB, free: 2.898 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.575e-05/0.001689, allocations: 0 / 0.9511 GB, free: 2.898 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 5.848e-05/0.001747, allocations: 0 / 0.9511 GB, free: 2.898 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.001751, allocations: 3.984 kB / 0.9511 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.072e-06/0.001752, allocations: 0 / 0.9511 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.001756, allocations: 0 / 0.9511 GB, free: 2.895 MB / 0.9011 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.0002198/0.001976, allocations: 242.4 kB / 0.9513 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.002018, allocations: 12.03 kB / 0.9513 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.973e-05/0.002048, allocations: 30.75 kB / 0.9514 GB, free: 2.574 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.016e-05/0.002068, allocations: 0.9375 kB / 0.9514 GB, free: 2.574 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.51e-05/0.002153, allocations: 105.7 kB / 0.9515 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.002163, allocations: 384 / 0.9515 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.002173, allocations: 8.359 kB / 0.9515 GB, free: 2.438 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.162e-05/0.002265, allocations: 26.27 kB / 0.9515 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.002275, allocations: 192 / 0.9515 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.002285, allocations: 384 / 0.9515 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.002293, allocations: 8.125 kB / 0.9515 GB, free: 2.398 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.97e-05/0.002313, allocations: 11.94 kB / 0.9515 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.002629, allocations: 346.6 kB / 0.9518 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 9.819e-05/0.002727, allocations: 169.1 kB / 0.952 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.002756, allocations: 80.14 kB / 0.9521 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.002782, allocations: 83.22 kB / 0.9522 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.979e-05/0.002822, allocations: 109.8 kB / 0.9523 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.002823, allocations: 0 / 0.9523 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 6.527e-05/0.002888, allocations: 25.7 kB / 0.9523 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.002942, allocations: 130.7 kB / 0.9524 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.675e-05/0.003019, allocations: 97.86 kB / 0.9525 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.003028, allocations: 29.7 kB / 0.9525 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.874e-05/0.003057, allocations: 84.12 kB / 0.9526 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.003059, allocations: 0 / 0.9526 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/0.003076, allocations: 13.66 kB / 0.9526 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.796e-05/0.003164, allocations: 310.8 kB / 0.9529 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.073e-06/0.003171, allocations: 4 kB / 0.9529 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.329e-06/0.003176, allocations: 3.938 kB / 0.9529 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.374e-05/0.0032, allocations: 75.28 kB / 0.953 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.151e-05/0.003221, allocations: 75.28 kB / 0.9531 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.505e-05/0.003256, allocations: 37.77 kB / 0.9531 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.003289, allocations: 81.94 kB / 0.9532 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.00331, allocations: 79.28 kB / 0.9533 GB, free: 472 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.917e-05/0.00336, allocations: 162.5 kB / 0.9534 GB, free: 308 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.008e-05/0.00338, allocations: 79.27 kB / 0.9535 GB, free: 228 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.825e-05/0.003418, allocations: 155.1 kB / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.529e-05/0.003473, allocations: 75.28 kB / 0.9537 GB, free: 16 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.003489, allocations: 79.28 kB / 0.9538 GB, free: 15.92 MB / 0.9167 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 8.521e-05/0.003574, allocations: 260.4 kB / 0.954 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.00362, allocations: 116.9 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.552e-05/0.003655, allocations: 112.1 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-05/0.003697, allocations: 180.4 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.636e-05/0.003744, allocations: 180.3 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.35e-05/0.003787, allocations: 180.3 kB / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.003932, allocations: 384.2 kB / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.593e-05/0.003958, allocations: 101 kB / 0.9552 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.596e-05/0.003984, allocations: 108.9 kB / 0.9553 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.593e-05/0.004029, allocations: 184.2 kB / 0.9555 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/0.004075, allocations: 176.3 kB / 0.9557 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.47e-05/0.00412, allocations: 188.2 kB / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.115e-05/0.004161, allocations: 180.3 kB / 0.956 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.136e-05/0.004252, allocations: 303.8 kB / 0.9563 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.004288, allocations: 112.8 kB / 0.9564 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.268e-05/0.00434, allocations: 184.3 kB / 0.9566 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.044e-05/0.004391, allocations: 105 kB / 0.9567 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.004437, allocations: 180.2 kB / 0.9569 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.004464, allocations: 105 kB / 0.957 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.956e-05/0.004493, allocations: 75.28 kB / 0.957 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004493, allocations: 0 / 0.957 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000173/0.004666, allocations: 7.984 kB / 0.9571 GB, free: 12.37 MB / 0.9167 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.0002652/0.004932, allocations: 0.8165 MB / 0.9579 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 3.407e-05/0.004966, allocations: 0 / 0.9579 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.004967, allocations: 0 / 0.9579 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.51e-07/0.004968, allocations: 0 / 0.9579 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.005222, allocations: 461.6 kB / 0.9583 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000765/0.005987, allocations: 1.528 MB / 0.9598 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.136e-05/0.006029, allocations: 59.34 kB / 0.9598 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.627e-06/0.006037, allocations: 0 / 0.9598 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.006064, allocations: 8.5 kB / 0.9599 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.006065, allocations: 4.094 kB / 0.9599 GB, free: 9.367 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01347/0.01954, allocations: 1.548 MB / 0.9614 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.65/6.669, allocations: 6.219 kB / 0.9614 GB, free: 7.949 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.654172359034419]