Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001582/0.001582, allocations: 103.9 kB / 16.45 MB, free: 6.445 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.001701/0.001701, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.434/1.434, allocations: 225.6 MB / 247.8 MB, free: 3.766 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.964/2.964, allocations: 497.2 MB / 0.7812 GB, free: 11.99 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.002005/0.002005, allocations: 67.89 kB / 1.134 GB, free: 13.19 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103/1.105, allocations: 173.9 MB / 1.304 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001642/1.106, allocations: 0.5463 MB / 1.305 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 4.534e-05/1.106, allocations: 3.938 kB / 1.305 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/1.106, allocations: 0 / 1.305 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.466e-05/1.106, allocations: 0 / 1.305 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.232e-05/1.107, allocations: 0 / 1.305 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.558e-05/1.107, allocations: 10.27 kB / 1.305 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.913e-05/1.107, allocations: 0 / 1.305 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.879e-05/1.107, allocations: 6.688 kB / 1.305 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.808e-05/1.107, allocations: 3.984 kB / 1.305 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 1.876e-05/1.107, allocations: 3.938 kB / 1.305 GB, free: 31.76 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/1.107, allocations: 0 / 1.305 GB, free: 31.76 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.907e-06/1.107, allocations: 0 / 1.305 GB, free: 31.76 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/1.107, allocations: 0 / 1.305 GB, free: 31.76 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/1.107, allocations: 2.875 kB / 1.305 GB, free: 31.76 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 6.422e-05/1.107, allocations: 3.938 kB / 1.305 GB, free: 31.76 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.107, allocations: 4 kB / 1.305 GB, free: 31.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.334e-06/1.107, allocations: 3.422 kB / 1.305 GB, free: 31.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.322e-06/1.107, allocations: 0 / 1.305 GB, free: 31.75 MB / 1.061 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.0002582/1.107, allocations: 314.2 kB / 1.305 GB, free: 31.4 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/1.107, allocations: 11.34 kB / 1.305 GB, free: 31.4 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.287e-05/1.107, allocations: 30.75 kB / 1.305 GB, free: 31.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.854e-05/1.107, allocations: 0.9375 kB / 1.305 GB, free: 31.36 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.872e-05/1.107, allocations: 167.6 kB / 1.305 GB, free: 31.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/1.107, allocations: 3.625 kB / 1.305 GB, free: 31.16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/1.107, allocations: 384 / 1.305 GB, free: 31.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.572e-05/1.107, allocations: 26.27 kB / 1.305 GB, free: 31.13 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/1.107, allocations: 11.92 kB / 1.305 GB, free: 31.12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/1.107, allocations: 10.72 kB / 1.305 GB, free: 31.11 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/1.107, allocations: 0 / 1.305 GB, free: 31.11 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.413e-05/1.107, allocations: 0 / 1.305 GB, free: 31.11 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/1.108, allocations: 377.7 kB / 1.305 GB, free: 30.7 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.05e-05/1.108, allocations: 175.9 kB / 1.306 GB, free: 30.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.394e-05/1.108, allocations: 84.14 kB / 1.306 GB, free: 30.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/1.108, allocations: 75.28 kB / 1.306 GB, free: 30.36 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/1.108, allocations: 109.3 kB / 1.306 GB, free: 30.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/1.108, allocations: 0 / 1.306 GB, free: 30.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.143e-05/1.108, allocations: 36.56 kB / 1.306 GB, free: 30.21 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/1.108, allocations: 126.7 kB / 1.306 GB, free: 30.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.976e-05/1.108, allocations: 100.7 kB / 1.306 GB, free: 29.96 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/1.108, allocations: 25.7 kB / 1.306 GB, free: 29.93 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.455e-05/1.108, allocations: 80.14 kB / 1.306 GB, free: 29.85 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/1.108, allocations: 2.812 kB / 1.306 GB, free: 29.85 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/1.108, allocations: 13.14 kB / 1.306 GB, free: 29.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.283e-05/1.108, allocations: 310.8 kB / 1.307 GB, free: 29.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.951e-06/1.108, allocations: 0 / 1.307 GB, free: 29.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.497e-06/1.108, allocations: 3.094 kB / 1.307 GB, free: 29.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.181e-05/1.108, allocations: 79.28 kB / 1.307 GB, free: 29.45 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/1.108, allocations: 79.22 kB / 1.307 GB, free: 29.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.48e-05/1.108, allocations: 32.55 kB / 1.307 GB, free: 29.33 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/1.108, allocations: 82.25 kB / 1.307 GB, free: 29.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/1.108, allocations: 78.28 kB / 1.307 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.244e-05/1.108, allocations: 158 kB / 1.307 GB, free: 29.03 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.008e-05/1.108, allocations: 79.22 kB / 1.307 GB, free: 28.95 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.966e-05/1.108, allocations: 157.6 kB / 1.307 GB, free: 28.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.699e-05/1.108, allocations: 83.22 kB / 1.307 GB, free: 28.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/1.108, allocations: 75.28 kB / 1.307 GB, free: 28.64 MB / 1.061 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 7.51e-05/1.108, allocations: 275.1 kB / 1.308 GB, free: 28.36 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/1.108, allocations: 104.3 kB / 1.308 GB, free: 28.26 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/1.108, allocations: 115 kB / 1.308 GB, free: 28.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.597e-05/1.108, allocations: 176.3 kB / 1.308 GB, free: 27.96 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.938e-05/1.108, allocations: 180.2 kB / 1.308 GB, free: 27.78 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.994e-05/1.108, allocations: 186.5 kB / 1.308 GB, free: 27.59 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/1.109, allocations: 398.2 kB / 1.309 GB, free: 27.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/1.109, allocations: 119 kB / 1.309 GB, free: 27.03 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.594e-05/1.109, allocations: 101 kB / 1.309 GB, free: 26.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-05/1.109, allocations: 180.2 kB / 1.309 GB, free: 26.74 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/1.109, allocations: 183.3 kB / 1.309 GB, free: 26.56 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.689e-05/1.109, allocations: 176.3 kB / 1.31 GB, free: 26.38 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.479e-05/1.109, allocations: 187.5 kB / 1.31 GB, free: 26.19 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.979e-05/1.109, allocations: 311.1 kB / 1.31 GB, free: 25.87 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/1.109, allocations: 184.5 kB / 1.31 GB, free: 25.67 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/1.109, allocations: 176.3 kB / 1.31 GB, free: 25.49 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.081e-05/1.109, allocations: 111.8 kB / 1.31 GB, free: 25.38 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/1.109, allocations: 180.3 kB / 1.311 GB, free: 25.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/1.109, allocations: 104.9 kB / 1.311 GB, free: 25.08 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.463e-05/1.109, allocations: 85.47 kB / 1.311 GB, free: 25 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.109, allocations: 0 / 1.311 GB, free: 25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002545/1.109, allocations: 0 / 1.311 GB, free: 25 MB / 1.061 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.0002733/1.11, allocations: 0.8104 MB / 1.312 GB, free: 24.19 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.672e-05/1.11, allocations: 3.938 kB / 1.312 GB, free: 24.18 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/1.11, allocations: 0 / 1.312 GB, free: 24.18 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/1.11, allocations: 0 / 1.312 GB, free: 24.18 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/1.11, allocations: 458.8 kB / 1.312 GB, free: 23.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007027/1.111, allocations: 1.522 MB / 1.314 GB, free: 22.17 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/1.111, allocations: 0.6723 MB / 1.314 GB, free: 21.47 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.855e-06/1.111, allocations: 0 / 1.314 GB, free: 21.47 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/1.111, allocations: 7.438 kB / 1.314 GB, free: 21.46 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/1.111, allocations: 0 / 1.314 GB, free: 21.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0539/1.165, allocations: 0.9327 MB / 1.315 GB, free: 21.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/9.079, allocations: 12.72 kB / 1.315 GB, free: 21.13 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.702436855994165]