Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.0008587/0.0008587, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008949/0.0008949, allocations: 181.9 kB / 23.22 MB, free: 1.344 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.8709/0.8709, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.74/1.74, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.364e-05, allocations: 2.281 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001165/0.001188, allocations: 0.6506 MB / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000729/0.001917, allocations: 0.8587 MB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.001952, allocations: 3.938 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.00198, allocations: 3.938 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.17e-05/0.002042, allocations: 0 / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001261/0.002168, allocations: 19.92 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.066e-05/0.002238, allocations: 51.83 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.002335, allocations: 11.94 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.47e-05/0.00241, allocations: 31.91 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.778e-05/0.002457, allocations: 19.97 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.002482, allocations: 4 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.375e-06/0.00249, allocations: 8 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.002508, allocations: 11.92 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.927e-05/0.002527, allocations: 8 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.921e-05/0.002616, allocations: 47.84 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.002618, allocations: 0 / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.61e-07/0.002619, allocations: 0 / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.002623, allocations: 4 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003575/0.00298, allocations: 274.3 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.003015, allocations: 9.344 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.003043, allocations: 12.83 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.958e-05/0.003133, allocations: 113.7 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.003146, allocations: 384 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.003156, allocations: 4.375 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.003285, allocations: 66.2 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.003297, allocations: 192 / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.003308, allocations: 8.375 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.003312, allocations: 384 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.003423, allocations: 47.89 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.003702, allocations: 232.4 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.003825, allocations: 62.53 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.003879, allocations: 25.7 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.003893, allocations: 4 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.003914, allocations: 42.48 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.003915, allocations: 0 / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002478/0.004163, allocations: 113.6 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.004191, allocations: 51.41 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.446e-05/0.004246, allocations: 105.8 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.004259, allocations: 25.7 kB / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.004297, allocations: 92.09 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.00431, allocations: 7.891 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.004337, allocations: 21.7 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.06e-05/0.004408, allocations: 314.8 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.193e-05/0.00446, allocations: 23.97 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.587e-05/0.004505, allocations: 23.98 kB / 1.004 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.849e-05/0.004604, allocations: 57 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.004605, allocations: 0 / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001263/0.004732, allocations: 93.59 kB / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.004743, allocations: 15.88 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.004747, allocations: 336 / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.004757, allocations: 0 / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.114e-05/0.004828, allocations: 15.98 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.004832, allocations: 0 / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.93e-05/0.004861, allocations: 11.92 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.004868, allocations: 4 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0003022/0.005171, allocations: 105.8 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.005188, allocations: 15.92 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.005209, allocations: 4 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.005212, allocations: 3.984 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.005215, allocations: 0 / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.005218, allocations: 7.938 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.997e-05/0.005308, allocations: 121.3 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.005309, allocations: 0 / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.666e-05/0.005346, allocations: 11.98 kB / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.005347, allocations: 0 / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.005354, allocations: 3.938 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005354, allocations: 0 / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.005356, allocations: 3.984 kB / 1.005 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.005504, allocations: 179.5 kB / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-06/0.005511, allocations: 4 kB / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.005521, allocations: 3.938 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.319e-05/0.005564, allocations: 7.984 kB / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.005606, allocations: 11.98 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.00561, allocations: 4 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.799e-05/0.005638, allocations: 87.27 kB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005638, allocations: 3.938 kB / 1.005 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001426/0.00578, allocations: 11.89 kB / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 6.531e-05/0.005846, allocations: 95.25 kB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001426/0.005988, allocations: 63.94 kB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.005989, allocations: 0 / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.047e-05/0.00604, allocations: 23.98 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.006226, allocations: 3.984 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002413/0.006467, allocations: 166.4 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.183e-05/0.006509, allocations: 67.34 kB / 1.005 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.006543, allocations: 16.48 kB / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of SimCode: time 3.8e-07/0.006543, allocations: 0 / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of Templates: time 0.001438/0.007981, allocations: 0.8083 MB / 1.006 GB, free: 7.344 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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: 6.375467170961201]