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.001367/0.001367, 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.001307/0.001307, allocations: 169 kB / 23.02 MB, free: 1.551 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.9517/0.9517, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.084/2.084, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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.225e-06/2.225e-06, allocations: 0 / 0.8781 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.918e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001196/0.001215, allocations: 0.6833 MB / 0.8788 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008108/0.002026, allocations: 0.8729 MB / 0.8797 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.801e-05/0.002064, allocations: 3.719 kB / 0.8797 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/0.002096, allocations: 7.922 kB / 0.8797 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.56e-05/0.002182, allocations: 9.734 kB / 0.8797 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.002323, allocations: 23.86 kB / 0.8797 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.311e-05/0.002396, allocations: 43.84 kB / 0.8798 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.281e-05/0.002489, allocations: 11.98 kB / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.106e-05/0.00257, allocations: 31.97 kB / 0.8798 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.984e-05/0.00262, allocations: 15.92 kB / 0.8798 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.002642, allocations: 4 kB / 0.8798 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.002652, allocations: 5.594 kB / 0.8798 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.002671, allocations: 15.97 kB / 0.8798 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.002694, allocations: 8 kB / 0.8798 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.614e-05/0.00278, allocations: 39.75 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.002782, allocations: 1.031 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/0.002784, allocations: 4 kB / 0.8799 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.002787, allocations: 0 / 0.8799 GB, free: 4.566 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.0003525/0.00314, allocations: 373.6 kB / 0.8802 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.003181, allocations: 12.03 kB / 0.8803 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.003221, allocations: 6 kB / 0.8803 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.003328, allocations: 108.6 kB / 0.8804 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.003348, allocations: 8.375 kB / 0.8804 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.003358, allocations: 1.5 kB / 0.8804 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.003487, allocations: 70.92 kB / 0.8804 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.003494, allocations: 192 / 0.8804 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.003504, allocations: 1.25 kB / 0.8804 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.003511, allocations: 384 / 0.8804 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.484e-05/0.003556, allocations: 28.36 kB / 0.8805 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.003916, allocations: 265.6 kB / 0.8807 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.004031, allocations: 47.05 kB / 0.8808 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.901e-05/0.00406, allocations: 19.66 kB / 0.8808 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.004072, allocations: 5.25 kB / 0.8808 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.004095, allocations: 41.33 kB / 0.8808 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.004097, allocations: 0 / 0.8808 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001665/0.004263, allocations: 62.77 kB / 0.8809 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.004291, allocations: 51.41 kB / 0.8809 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.075e-05/0.004362, allocations: 165.9 kB / 0.8811 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.004373, allocations: 26.36 kB / 0.8811 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.004424, allocations: 138.8 kB / 0.8813 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.004444, allocations: 17.55 kB / 0.8813 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.004475, allocations: 23.38 kB / 0.8813 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.004585, allocations: 492.1 kB / 0.8818 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.435e-05/0.00461, allocations: 15.92 kB / 0.8818 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.501e-05/0.004625, allocations: 6.625 kB / 0.8818 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.108e-05/0.004666, allocations: 27.67 kB / 0.8818 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.004668, allocations: 0 / 0.8818 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.856e-05/0.004736, allocations: 49.69 kB / 0.8819 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.004749, allocations: 7.938 kB / 0.8819 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.004753, allocations: 0 / 0.8819 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.004764, allocations: 6.234 kB / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.533e-05/0.00485, allocations: 11.98 kB / 0.8819 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.004855, allocations: 3.938 kB / 0.8819 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.004878, allocations: 0 / 0.8819 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.004886, allocations: 4 kB / 0.8819 GB, free: 2.316 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 9.569e-05/0.004981, allocations: 157.3 kB / 0.882 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.005001, allocations: 21.52 kB / 0.8821 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.005025, allocations: 4 kB / 0.8821 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.005028, allocations: 0 / 0.8821 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.005031, allocations: 256 / 0.8821 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.005033, allocations: 0 / 0.8821 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.536e-05/0.005129, allocations: 129.2 kB / 0.8822 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.00513, allocations: 0.9688 kB / 0.8822 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.005161, allocations: 11.98 kB / 0.8822 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.005163, allocations: 3.938 kB / 0.8822 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.005171, allocations: 11.94 kB / 0.8822 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.005172, allocations: 0 / 0.8822 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.005173, allocations: 0 / 0.8822 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.005282, allocations: 199.9 kB / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.005291, allocations: 7.953 kB / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.005303, allocations: 7.938 kB / 0.8824 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.596e-05/0.005339, allocations: 4 kB / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.005387, allocations: 7.984 kB / 0.8824 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.005391, allocations: 4 kB / 0.8824 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.424e-05/0.005425, allocations: 127.2 kB / 0.8826 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.005425, allocations: 4 kB / 0.8826 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001394/0.005565, allocations: 8 kB / 0.8826 GB, free: 1.559 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 6.363e-05/0.005628, allocations: 99.19 kB / 0.8827 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.701e-05/0.005715, allocations: 27.67 kB / 0.8827 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.005717, allocations: 0 / 0.8827 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.112e-05/0.005748, allocations: 27.61 kB / 0.8827 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.005923, allocations: 11.98 kB / 0.8827 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002523/0.006175, allocations: 130.3 kB / 0.8829 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.309e-05/0.006208, allocations: 59.34 kB / 0.8829 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.585e-05/0.006234, allocations: 4 kB / 0.8829 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.00627, allocations: 12.5 kB / 0.8829 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/0.006271, allocations: 0 / 0.8829 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of Templates: time 0.002366/0.008637, allocations: 1.017 MB / 0.8839 GB, free: 128 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.213765271939337]