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.001073/0.001073, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001015/0.001015, allocations: 165 kB / 23.01 MB, free: 1.555 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 1.021/1.021, allocations: 177.1 MB / 203.4 MB, free: 5.652 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 2.21/2.21, allocations: 429.5 MB / 0.6733 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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 2.104e-06/2.104e-06, allocations: 0 / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/3.047e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.004689/0.004719, allocations: 0.687 MB / 0.8788 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009864/0.005706, allocations: 0.8795 MB / 0.8797 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.005746, allocations: 0 / 0.8797 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.271e-05/0.005779, allocations: 0 / 0.8797 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.912e-05/0.005858, allocations: 5.359 kB / 0.8797 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.006015, allocations: 35.83 kB / 0.8797 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.162e-05/0.006097, allocations: 38.11 kB / 0.8798 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.006203, allocations: 11.98 kB / 0.8798 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.454e-05/0.006288, allocations: 27.92 kB / 0.8798 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.88e-05/0.006346, allocations: 23.95 kB / 0.8798 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.006367, allocations: 5.5 kB / 0.8798 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-06/0.006377, allocations: 4 kB / 0.8798 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.006397, allocations: 7.938 kB / 0.8798 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.006423, allocations: 11.98 kB / 0.8798 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.583e-05/0.006518, allocations: 36.86 kB / 0.8799 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.006521, allocations: 0 / 0.8799 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.82e-07/0.006522, allocations: 1.125 kB / 0.8799 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.006526, allocations: 0 / 0.8799 GB, free: 4.609 MB / 0.8386 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.0004058/0.006932, allocations: 376.5 kB / 0.8802 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.00697, allocations: 9.094 kB / 0.8802 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.007007, allocations: 4.938 kB / 0.8802 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.007114, allocations: 120.5 kB / 0.8804 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.007136, allocations: 5.469 kB / 0.8804 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.007151, allocations: 4.375 kB / 0.8804 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.007306, allocations: 67.8 kB / 0.8804 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.007317, allocations: 192 / 0.8804 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.007328, allocations: 4.375 kB / 0.8804 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.007337, allocations: 3.094 kB / 0.8804 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.399e-05/0.007391, allocations: 23.91 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.007735, allocations: 267.7 kB / 0.8807 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.00784, allocations: 47.05 kB / 0.8808 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/0.007877, allocations: 23.75 kB / 0.8808 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.007895, allocations: 1.812 kB / 0.8808 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.00792, allocations: 37.33 kB / 0.8808 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.007921, allocations: 0 / 0.8808 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002039/0.008125, allocations: 65.56 kB / 0.8809 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.008161, allocations: 56.09 kB / 0.8809 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.14e-05/0.008242, allocations: 161.9 kB / 0.8811 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.008256, allocations: 31.36 kB / 0.8811 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.008312, allocations: 134.8 kB / 0.8813 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.008331, allocations: 7.906 kB / 0.8813 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.00837, allocations: 27.36 kB / 0.8813 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.00849, allocations: 496.6 kB / 0.8818 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.875e-05/0.008519, allocations: 13.78 kB / 0.8818 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.122e-05/0.00854, allocations: 7.984 kB / 0.8818 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.094e-05/0.008591, allocations: 19.69 kB / 0.8818 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008593, allocations: 4 kB / 0.8818 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.943e-05/0.008693, allocations: 54.28 kB / 0.8819 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.008711, allocations: 11.92 kB / 0.8819 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.008716, allocations: 0.875 kB / 0.8819 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.008733, allocations: 0 / 0.8819 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.826e-05/0.008832, allocations: 9.594 kB / 0.8819 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.008837, allocations: 256 / 0.8819 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.129e-05/0.008869, allocations: 7.984 kB / 0.8819 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.008878, allocations: 4 kB / 0.8819 GB, free: 2.348 MB / 0.8386 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 7.56e-05/0.008954, allocations: 164.6 kB / 0.882 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.008982, allocations: 7.891 kB / 0.8821 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.00901, allocations: 8 kB / 0.8821 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.009012, allocations: 0 / 0.8821 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.009016, allocations: 0 / 0.8821 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.009018, allocations: 0 / 0.8821 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.009149, allocations: 128.6 kB / 0.8822 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.009151, allocations: 0 / 0.8822 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.948e-05/0.0092, allocations: 11.94 kB / 0.8822 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.009203, allocations: 0 / 0.8822 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.009211, allocations: 3.938 kB / 0.8822 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.009213, allocations: 7.984 kB / 0.8822 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.009214, allocations: 0 / 0.8822 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.009497, allocations: 200.2 kB / 0.8824 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.009509, allocations: 3.953 kB / 0.8824 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.009525, allocations: 11.94 kB / 0.8824 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.944e-05/0.009584, allocations: 3.984 kB / 0.8824 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.009641, allocations: 11.98 kB / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.009646, allocations: 0 / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.325e-05/0.009689, allocations: 127.2 kB / 0.8826 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.009689, allocations: 0 / 0.8826 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002198/0.009909, allocations: 8 kB / 0.8826 GB, free: 1.598 MB / 0.8386 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 9.357e-05/0.01, allocations: 111.1 kB / 0.8827 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.01011, allocations: 23.67 kB / 0.8827 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01011, allocations: 3.938 kB / 0.8827 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.943e-05/0.01015, allocations: 27.67 kB / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.0104, allocations: 4.078 kB / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.01071, allocations: 146.2 kB / 0.8829 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.541e-05/0.01074, allocations: 55.36 kB / 0.8829 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.485e-05/0.01077, allocations: 4 kB / 0.8829 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.0108, allocations: 16.48 kB / 0.8829 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of SimCode: time 8.12e-07/0.0108, allocations: 0 / 0.8829 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of Templates: time 0.002623/0.01343, allocations: 0.9682 MB / 0.8839 GB, free: 200 kB / 0.8386 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.674026978202164]