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.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.001368/0.001368, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001381/0.001381, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.315/1.315, allocations: 225.6 MB / 249.3 MB, free: 3.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.486/2.486, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.001773/0.001773, allocations: 67.88 kB / 1.107 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7719/0.7737, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001549/0.7753, allocations: 0.5499 MB / 1.272 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 3.578e-05/0.7753, allocations: 1 kB / 1.272 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.392e-05/0.7753, allocations: 4 kB / 1.272 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.299e-05/0.7753, allocations: 4.844 kB / 1.272 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.069e-05/0.7754, allocations: 0 / 1.272 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 2.97e-05/0.7754, allocations: 0 / 1.272 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.81e-05/0.7754, allocations: 2.156 kB / 1.272 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.7755, allocations: 2.078 kB / 1.272 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.276e-05/0.7755, allocations: 1.594 kB / 1.272 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.815e-05/0.7755, allocations: 9.297 kB / 1.272 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.7755, allocations: 1.062 kB / 1.272 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.677e-06/0.7755, allocations: 0 / 1.272 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.7755, allocations: 1.531 kB / 1.272 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.785e-05/0.7756, allocations: 5.859 kB / 1.272 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 5.181e-05/0.7756, allocations: 6.078 kB / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.7756, allocations: 0.7188 kB / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7756, allocations: 3.938 kB / 1.272 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.7756, allocations: 5.125 kB / 1.272 GB, free: 7.359 MB / 0.9981 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.0002065/0.7758, allocations: 310.7 kB / 1.272 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.7759, allocations: 9.5 kB / 1.272 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.1e-05/0.7759, allocations: 36.53 kB / 1.272 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.581e-05/0.7759, allocations: 0.9375 kB / 1.272 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.672e-05/0.776, allocations: 166.6 kB / 1.272 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.776, allocations: 1.312 kB / 1.272 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.776, allocations: 4.375 kB / 1.272 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.236e-05/0.7761, allocations: 28.64 kB / 1.273 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.7761, allocations: 5.156 kB / 1.273 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-06/0.7761, allocations: 0.875 kB / 1.273 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.7761, allocations: 0 / 1.273 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.289e-05/0.7761, allocations: 4.875 kB / 1.273 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.7763, allocations: 382.4 kB / 1.273 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.586e-05/0.7763, allocations: 170.9 kB / 1.273 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.407e-05/0.7763, allocations: 81.03 kB / 1.273 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.7763, allocations: 75.28 kB / 1.273 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.7763, allocations: 115.6 kB / 1.273 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.7763, allocations: 7.922 kB / 1.273 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 5.263e-05/0.7764, allocations: 27.56 kB / 1.273 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.7764, allocations: 127.5 kB / 1.273 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.163e-05/0.7765, allocations: 94.75 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.617e-06/0.7765, allocations: 25.7 kB / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.183e-05/0.7765, allocations: 84.92 kB / 1.274 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.362e-06/0.7765, allocations: 128 / 1.274 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/0.7765, allocations: 16.23 kB / 1.274 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.643e-05/0.7765, allocations: 312.4 kB / 1.274 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-06/0.7765, allocations: 0 / 1.274 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.765e-06/0.7765, allocations: 4.719 kB / 1.274 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.889e-06/0.7766, allocations: 75.28 kB / 1.274 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.838e-06/0.7766, allocations: 81.09 kB / 1.274 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.185e-05/0.7766, allocations: 32.94 kB / 1.274 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.7766, allocations: 80.12 kB / 1.274 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.7766, allocations: 84.19 kB / 1.274 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.7767, allocations: 156.8 kB / 1.274 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.536e-06/0.7767, allocations: 76.86 kB / 1.275 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.7767, allocations: 159.3 kB / 1.275 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.7767, allocations: 81.02 kB / 1.275 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.7767, allocations: 76.12 kB / 1.275 GB, free: 4.25 MB / 0.9981 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 4.563e-05/0.7768, allocations: 266.7 kB / 1.275 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.7768, allocations: 107.1 kB / 1.275 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.7768, allocations: 110 kB / 1.275 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.7769, allocations: 178 kB / 1.275 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001286/0.777, allocations: 182 kB / 1.276 GB, free: 19.39 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-05/0.7771, allocations: 182.5 kB / 1.276 GB, free: 19.21 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.7773, allocations: 409.3 kB / 1.276 GB, free: 18.76 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.167e-05/0.7773, allocations: 102.2 kB / 1.276 GB, free: 18.65 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.7774, allocations: 103.1 kB / 1.276 GB, free: 18.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.85e-05/0.7775, allocations: 181.9 kB / 1.277 GB, free: 18.36 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-05/0.7775, allocations: 181.7 kB / 1.277 GB, free: 18.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.815e-05/0.7776, allocations: 186.5 kB / 1.277 GB, free: 17.99 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-05/0.7777, allocations: 178 kB / 1.277 GB, free: 17.81 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.7778, allocations: 313 kB / 1.277 GB, free: 17.49 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.78e-05/0.7779, allocations: 180.5 kB / 1.278 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.773e-05/0.7779, allocations: 189.9 kB / 1.278 GB, free: 17.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.778, allocations: 110.7 kB / 1.278 GB, free: 16.98 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.667e-05/0.7781, allocations: 182.3 kB / 1.278 GB, free: 16.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-05/0.7781, allocations: 102.6 kB / 1.278 GB, free: 16.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.672e-05/0.7782, allocations: 77.66 kB / 1.278 GB, free: 16.62 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.7782, allocations: 0.7188 kB / 1.278 GB, free: 16.62 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002248/0.7784, allocations: 4.938 kB / 1.278 GB, free: 16.62 MB / 1.014 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.0004402/0.7788, allocations: 0.8113 MB / 1.279 GB, free: 15.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 3.65e-05/0.7789, allocations: 1.266 kB / 1.279 GB, free: 15.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7789, allocations: 4 kB / 1.279 GB, free: 15.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.7789, allocations: 0.8125 kB / 1.279 GB, free: 15.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.7792, allocations: 458.1 kB / 1.279 GB, free: 15.35 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009918/0.7802, allocations: 1.526 MB / 1.281 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.7805, allocations: 0.6711 MB / 1.282 GB, free: 13.08 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.993e-06/0.7805, allocations: 0.9062 kB / 1.282 GB, free: 13.08 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.847e-05/0.7805, allocations: 11.44 kB / 1.282 GB, free: 13.07 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.7805, allocations: 0 / 1.282 GB, free: 13.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.8026, allocations: 0.8986 MB / 1.282 GB, free: 12.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.706/7.508, allocations: 11.89 kB / 1.282 GB, free: 12.72 MB / 1.014 GB " [Timeout remaining time 292] (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 --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/jenkins1/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: 12.825211459999991]