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.001844/0.001844, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002425/0.002425, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.793 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.269/3.269, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 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="me",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="me",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.003095/0.003095, allocations: 72.3 kB / 1.153 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.409, allocations: 176.1 MB / 1.325 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002148/0.4111, allocations: 0.5584 MB / 1.326 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.027e-05/0.4112, allocations: 3.938 kB / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.4112, allocations: 0 / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.4112, allocations: 0 / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.374e-05/0.4113, allocations: 0 / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 2.751e-05/0.4113, allocations: 0 / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.804e-05/0.4113, allocations: 4 kB / 1.326 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.051e-05/0.4114, allocations: 4 kB / 1.326 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.806e-05/0.4114, allocations: 11.92 kB / 1.326 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.859e-05/0.4114, allocations: 0 / 1.326 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.4115, allocations: 0 / 1.326 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.388e-06/0.4115, allocations: 0 / 1.326 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.4115, allocations: 0 / 1.326 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.791e-05/0.4115, allocations: 0 / 1.326 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.431e-05/0.4116, allocations: 7.984 kB / 1.326 GB, free: 1.781 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.4116, allocations: 0 / 1.326 GB, free: 1.781 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4116, allocations: 0 / 1.326 GB, free: 1.781 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.4116, allocations: 0 / 1.326 GB, free: 1.781 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.0003509/0.4119, allocations: 238.7 kB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.412, allocations: 12.03 kB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.147e-05/0.412, allocations: 34.69 kB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.355e-05/0.412, allocations: 12.86 kB / 1.326 GB, free: 1.449 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.4121, allocations: 102.5 kB / 1.326 GB, free: 1.324 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.4121, allocations: 384 / 1.326 GB, free: 1.324 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.998e-06/0.4122, allocations: 384 / 1.326 GB, free: 1.324 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.568e-05/0.4122, allocations: 30.27 kB / 1.326 GB, free: 1.289 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4123, allocations: 3.938 kB / 1.326 GB, free: 1.285 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.4123, allocations: 4 kB / 1.326 GB, free: 1.281 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4123, allocations: 0 / 1.326 GB, free: 1.281 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.457e-05/0.4123, allocations: 4 kB / 1.326 GB, free: 1.277 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.4126, allocations: 362.5 kB / 1.326 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.65e-05/0.4127, allocations: 169.5 kB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/0.4128, allocations: 80.14 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.4128, allocations: 75.28 kB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.769e-05/0.4129, allocations: 109.8 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.4129, allocations: 0 / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.807e-05/0.4129, allocations: 33.67 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.776e-05/0.413, allocations: 126.7 kB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.4131, allocations: 101.8 kB / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.4131, allocations: 33.77 kB / 1.327 GB, free: 108 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.4132, allocations: 84.14 kB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.4132, allocations: 0 / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.4132, allocations: 9.719 kB / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4133, allocations: 310.8 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.889e-06/0.4134, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-06/0.4134, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.541e-05/0.4134, allocations: 79.28 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.901e-05/0.4134, allocations: 79.22 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.878e-05/0.4135, allocations: 37.64 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.704e-05/0.4135, allocations: 87.27 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-05/0.4136, allocations: 79.28 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.931e-05/0.4137, allocations: 150.6 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.364e-05/0.4137, allocations: 83.22 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.6e-05/0.4138, allocations: 150.6 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.911e-05/0.4138, allocations: 79.22 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.4139, allocations: 79.28 kB / 1.328 GB, free: 14.79 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.0001391/0.414, allocations: 264.9 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.4141, allocations: 108.9 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.755e-05/0.4142, allocations: 112.1 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-05/0.4142, allocations: 176.3 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.692e-05/0.4143, allocations: 184.2 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.37e-05/0.4144, allocations: 188.2 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.4147, allocations: 376.2 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.541e-05/0.4147, allocations: 109 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.052e-05/0.4148, allocations: 101 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-05/0.4149, allocations: 184.2 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-05/0.415, allocations: 184.3 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.994e-05/0.4151, allocations: 180.5 kB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-05/0.4151, allocations: 176.3 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.4153, allocations: 319.7 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.4154, allocations: 105 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-05/0.4154, allocations: 184.2 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.292e-05/0.4155, allocations: 101 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8e-05/0.4156, allocations: 176.3 kB / 1.331 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.4156, allocations: 108.9 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.125e-05/0.4157, allocations: 83.28 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4157, allocations: 0 / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002503/0.4159, allocations: 0 / 1.332 GB, free: 11.24 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.0005171/0.4165, allocations: 0.8048 MB / 1.332 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.321e-05/0.4165, allocations: 15.97 kB / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4165, allocations: 0 / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.4165, allocations: 0 / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.4169, allocations: 459.7 kB / 1.333 GB, free: 9.934 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.418, allocations: 1.524 MB / 1.334 GB, free: 8.332 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.162e-05/0.4181, allocations: 51.36 kB / 1.334 GB, free: 8.262 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.757e-06/0.4181, allocations: 4 kB / 1.334 GB, free: 8.258 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.4181, allocations: 7.438 kB / 1.334 GB, free: 8.25 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4181, allocations: 0 / 1.334 GB, free: 8.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/0.4454, allocations: 1.41 MB / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.66, allocations: 4.531 kB / 1.336 GB, free: 6.977 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.48867885163054]