Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001947/0.001947, allocations: 107.8 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.002272/0.002272, 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.508/1.508, allocations: 225.6 MB / 247.8 MB, free: 3.738 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.92 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.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 63.89 kB / 1.134 GB, free: 13.14 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9587/0.9606, allocations: 173.9 MB / 1.304 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001627/0.9623, allocations: 0.5845 MB / 1.305 GB, free: 31.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 4.426e-05/0.9623, allocations: 3.938 kB / 1.305 GB, free: 31.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.9623, allocations: 0 / 1.305 GB, free: 31.74 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.524e-05/0.9624, allocations: 0 / 1.305 GB, free: 31.74 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.394e-05/0.9624, allocations: 0 / 1.305 GB, free: 31.74 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.442e-05/0.9624, allocations: 4 kB / 1.305 GB, free: 31.74 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.04e-05/0.9625, allocations: 2.906 kB / 1.305 GB, free: 31.74 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.786e-05/0.9625, allocations: 0 / 1.305 GB, free: 31.74 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.854e-05/0.9626, allocations: 2.75 kB / 1.305 GB, free: 31.74 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.167e-05/0.9626, allocations: 7.938 kB / 1.305 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.9626, allocations: 0 / 1.305 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.657e-06/0.9626, allocations: 0 / 1.305 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.9626, allocations: 3.984 kB / 1.305 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.784e-05/0.9626, allocations: 0 / 1.305 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 6.397e-05/0.9627, allocations: 10.03 kB / 1.305 GB, free: 31.72 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.9627, allocations: 0 / 1.305 GB, free: 31.72 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9627, allocations: 0 / 1.305 GB, free: 31.72 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.9627, allocations: 0 / 1.305 GB, free: 31.72 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.0002475/0.963, allocations: 310.2 kB / 1.305 GB, free: 31.38 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.963, allocations: 18.81 kB / 1.305 GB, free: 31.37 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.546e-05/0.963, allocations: 34.69 kB / 1.305 GB, free: 31.33 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.779e-05/0.963, allocations: 0.9375 kB / 1.305 GB, free: 31.33 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.773e-05/0.9631, allocations: 160.4 kB / 1.305 GB, free: 31.13 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.9631, allocations: 384 / 1.305 GB, free: 31.13 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.9632, allocations: 7.219 kB / 1.305 GB, free: 31.13 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.242e-05/0.9632, allocations: 30.27 kB / 1.305 GB, free: 31.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.9632, allocations: 7.922 kB / 1.305 GB, free: 31.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.9632, allocations: 0 / 1.305 GB, free: 31.09 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.9633, allocations: 2.969 kB / 1.305 GB, free: 31.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.292e-05/0.9633, allocations: 4 kB / 1.305 GB, free: 31.08 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.9635, allocations: 384.6 kB / 1.306 GB, free: 30.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.576e-05/0.9635, allocations: 172 kB / 1.306 GB, free: 30.49 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.512e-05/0.9635, allocations: 80.14 kB / 1.306 GB, free: 30.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.9636, allocations: 79.28 kB / 1.306 GB, free: 30.33 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.9636, allocations: 105.8 kB / 1.306 GB, free: 30.21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.9636, allocations: 0 / 1.306 GB, free: 30.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.044e-05/0.9636, allocations: 36.62 kB / 1.306 GB, free: 30.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.9637, allocations: 130.6 kB / 1.306 GB, free: 30.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.9638, allocations: 100.1 kB / 1.306 GB, free: 29.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.5e-06/0.9638, allocations: 25.83 kB / 1.306 GB, free: 29.9 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.538e-05/0.9638, allocations: 84.14 kB / 1.306 GB, free: 29.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.9638, allocations: 0 / 1.306 GB, free: 29.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.686e-05/0.9638, allocations: 12.81 kB / 1.306 GB, free: 29.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.524e-05/0.9638, allocations: 310.8 kB / 1.307 GB, free: 29.49 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.718e-06/0.9638, allocations: 0 / 1.307 GB, free: 29.49 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-06/0.9638, allocations: 0 / 1.307 GB, free: 29.49 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.213e-05/0.9639, allocations: 79.28 kB / 1.307 GB, free: 29.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.9639, allocations: 82.12 kB / 1.307 GB, free: 29.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.766e-05/0.9639, allocations: 37.11 kB / 1.307 GB, free: 29.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.9639, allocations: 81 kB / 1.307 GB, free: 29.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.964, allocations: 78.19 kB / 1.307 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.162e-05/0.964, allocations: 154.6 kB / 1.307 GB, free: 28.99 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.025e-05/0.964, allocations: 79.22 kB / 1.307 GB, free: 28.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/0.964, allocations: 153.3 kB / 1.307 GB, free: 28.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.088e-05/0.9641, allocations: 83.22 kB / 1.307 GB, free: 28.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.9641, allocations: 78.56 kB / 1.307 GB, free: 28.61 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 5.439e-05/0.9641, allocations: 271.2 kB / 1.308 GB, free: 28.34 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.9642, allocations: 104.9 kB / 1.308 GB, free: 28.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.9642, allocations: 107.3 kB / 1.308 GB, free: 28.12 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/0.9642, allocations: 183.6 kB / 1.308 GB, free: 27.93 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.748e-05/0.9643, allocations: 188.1 kB / 1.308 GB, free: 27.74 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.376e-05/0.9643, allocations: 180.3 kB / 1.308 GB, free: 27.56 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.9644, allocations: 408.5 kB / 1.309 GB, free: 27.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.9644, allocations: 101 kB / 1.309 GB, free: 27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.434e-05/0.9644, allocations: 104 kB / 1.309 GB, free: 26.9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.61e-05/0.9645, allocations: 184.2 kB / 1.309 GB, free: 26.71 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.9645, allocations: 183.6 kB / 1.309 GB, free: 26.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.644e-05/0.9645, allocations: 183.1 kB / 1.31 GB, free: 26.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-05/0.9645, allocations: 180.3 kB / 1.31 GB, free: 26.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.354e-05/0.9646, allocations: 314.2 kB / 1.31 GB, free: 25.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.9647, allocations: 181.2 kB / 1.31 GB, free: 25.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.9647, allocations: 180.2 kB / 1.31 GB, free: 25.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.624e-05/0.9648, allocations: 108.2 kB / 1.31 GB, free: 25.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.9648, allocations: 179.5 kB / 1.311 GB, free: 25.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.9648, allocations: 104.9 kB / 1.311 GB, free: 25.05 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.172e-05/0.9648, allocations: 86.41 kB / 1.311 GB, free: 24.97 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.9648, allocations: 0 / 1.311 GB, free: 24.97 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002409/0.9651, allocations: 0 / 1.311 GB, free: 24.97 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.0002475/0.9653, allocations: 0.8092 MB / 1.312 GB, free: 24.16 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.357e-05/0.9654, allocations: 7.938 kB / 1.312 GB, free: 24.15 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9654, allocations: 0 / 1.312 GB, free: 24.15 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.9654, allocations: 3.062 kB / 1.312 GB, free: 24.15 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.9656, allocations: 457.5 kB / 1.312 GB, free: 23.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006812/0.9663, allocations: 1.533 MB / 1.314 GB, free: 22.13 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.68e-05/0.9664, allocations: 0.6717 MB / 1.314 GB, free: 21.43 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.563e-06/0.9664, allocations: 0 / 1.314 GB, free: 21.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.769e-05/0.9664, allocations: 7.438 kB / 1.314 GB, free: 21.43 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.9664, allocations: 0 / 1.314 GB, free: 21.43 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.9904, allocations: 0.9404 MB / 1.315 GB, free: 21.08 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.865/8.855, allocations: 4.938 kB / 1.315 GB, free: 21.08 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.454763684887439]