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.001241/0.001241, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001305/0.001305, allocations: 173 kB / 23.49 MB, free: 1.059 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.074/1.074, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.212/2.212, allocations: 429.5 MB / 0.6736 GB, free: 4.066 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 4.919e-06/4.919e-06, allocations: 0 / 0.8782 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.181e-05/5.673e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002556/0.002613, allocations: 0.677 MB / 0.8788 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003927/0.00654, allocations: 0.8764 MB / 0.8797 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.226e-05/0.006612, allocations: 0.75 kB / 0.8797 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.209e-05/0.006654, allocations: 4.594 kB / 0.8797 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.006789, allocations: 5.828 kB / 0.8797 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.007041, allocations: 31.84 kB / 0.8797 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.007149, allocations: 41.3 kB / 0.8798 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.007302, allocations: 13.08 kB / 0.8798 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.007443, allocations: 27.97 kB / 0.8798 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.469e-05/0.007528, allocations: 23.91 kB / 0.8798 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.007564, allocations: 4.656 kB / 0.8798 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.413e-05/0.007578, allocations: 4 kB / 0.8798 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.492e-05/0.007613, allocations: 8.484 kB / 0.8798 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.152e-05/0.007664, allocations: 12.83 kB / 0.8799 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.007832, allocations: 35.83 kB / 0.8799 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.007838, allocations: 1.25 kB / 0.8799 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.154e-06/0.00784, allocations: 0 / 0.8799 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.007848, allocations: 0 / 0.8799 GB, free: 4.922 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.0006815/0.008529, allocations: 381.5 kB / 0.8802 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 8.344e-05/0.008613, allocations: 8.031 kB / 0.8803 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.686e-05/0.00868, allocations: 4.938 kB / 0.8803 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.008863, allocations: 121.7 kB / 0.8804 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.008895, allocations: 384 / 0.8804 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.008914, allocations: 4.375 kB / 0.8804 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.009164, allocations: 64 kB / 0.8804 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.009175, allocations: 192 / 0.8804 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.009195, allocations: 5.469 kB / 0.8804 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.009209, allocations: 384 / 0.8804 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.898e-05/0.009288, allocations: 23.86 kB / 0.8805 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006327/0.009921, allocations: 264.6 kB / 0.8807 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.01011, allocations: 51.62 kB / 0.8808 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.253e-05/0.01017, allocations: 25.41 kB / 0.8808 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.01019, allocations: 3.938 kB / 0.8808 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.01023, allocations: 41.27 kB / 0.8808 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.923e-06/0.01023, allocations: 0 / 0.8808 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0003156/0.01054, allocations: 63.25 kB / 0.8809 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.01061, allocations: 55.41 kB / 0.881 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.01076, allocations: 161.9 kB / 0.8811 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.01079, allocations: 33.69 kB / 0.8811 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.319e-05/0.01087, allocations: 135.9 kB / 0.8813 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.0109, allocations: 7.906 kB / 0.8813 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.959e-05/0.01097, allocations: 27.36 kB / 0.8813 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.01118, allocations: 497.1 kB / 0.8818 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.094e-05/0.01123, allocations: 8 kB / 0.8818 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.01126, allocations: 7.984 kB / 0.8818 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.418e-05/0.01134, allocations: 24.19 kB / 0.8818 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01134, allocations: 5.594 kB / 0.8818 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001593/0.0115, allocations: 49.69 kB / 0.8819 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.01153, allocations: 10.28 kB / 0.8819 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.01154, allocations: 3.984 kB / 0.8819 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.01157, allocations: 3.062 kB / 0.8819 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.01176, allocations: 8 kB / 0.8819 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.01177, allocations: 0 / 0.8819 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.01182, allocations: 7.984 kB / 0.8819 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.01183, allocations: 0 / 0.8819 GB, free: 2.664 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 0.0001366/0.01197, allocations: 164.5 kB / 0.8821 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.01201, allocations: 7.891 kB / 0.8821 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.141e-05/0.01206, allocations: 13.47 kB / 0.8821 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.01206, allocations: 0 / 0.8821 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.01207, allocations: 0 / 0.8821 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.01207, allocations: 0 / 0.8821 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.01228, allocations: 132.7 kB / 0.8822 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.01228, allocations: 0 / 0.8822 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.0124, allocations: 8 kB / 0.8822 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.0124, allocations: 0 / 0.8822 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.01242, allocations: 7.875 kB / 0.8822 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.01242, allocations: 3.984 kB / 0.8822 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.01243, allocations: 0 / 0.8822 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.01268, allocations: 196.3 kB / 0.8824 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.01271, allocations: 7.953 kB / 0.8824 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.01273, allocations: 11.88 kB / 0.8824 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.435e-05/0.01283, allocations: 7.984 kB / 0.8824 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/0.01291, allocations: 16.02 kB / 0.8825 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.01292, allocations: 0 / 0.8825 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.995e-05/0.013, allocations: 131.4 kB / 0.8826 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.013, allocations: 0 / 0.8826 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002582/0.01325, allocations: 8 kB / 0.8826 GB, free: 1.898 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 0.0001743/0.01343, allocations: 103.2 kB / 0.8827 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.0136, allocations: 23.67 kB / 0.8827 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.0136, allocations: 0 / 0.8827 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.835e-05/0.01366, allocations: 35.61 kB / 0.8827 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.01401, allocations: 4 kB / 0.8827 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.01454, allocations: 134.3 kB / 0.8829 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.179e-05/0.01459, allocations: 55.36 kB / 0.8829 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.669e-05/0.01464, allocations: 8 kB / 0.8829 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/0.0147, allocations: 16.48 kB / 0.8829 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of SimCode: time 1.452e-06/0.0147, allocations: 0 / 0.8829 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of Templates: time 0.005088/0.01979, allocations: 0.955 MB / 0.8839 GB, free: 0.5156 MB / 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.796857142820954]