Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001186/0.001186, allocations: 72.5 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.001333/0.001333, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8722/0.8722, allocations: 177.1 MB / 203.5 MB, free: 5.391 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.746/1.746, allocations: 377.8 MB / 0.6228 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9822 GB, free: 0.9766 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.221e-05, allocations: 2.281 kB / 0.9822 GB, free: 0.9727 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001127/0.001149, allocations: 0.6467 MB / 0.9828 GB, free: 332 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0007842/0.001933, allocations: 0.8626 MB / 0.9836 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.001968, allocations: 0 / 0.9836 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.001998, allocations: 7.922 kB / 0.9837 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.557e-05/0.002063, allocations: 3.984 kB / 0.9837 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.002198, allocations: 19.92 kB / 0.9837 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.302e-05/0.002271, allocations: 47.84 kB / 0.9837 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.807e-05/0.002369, allocations: 15.92 kB / 0.9837 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.694e-05/0.002446, allocations: 27.97 kB / 0.9838 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.269e-05/0.002499, allocations: 19.92 kB / 0.9838 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.002522, allocations: 4 kB / 0.9838 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.002531, allocations: 8 kB / 0.9838 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.002549, allocations: 11.97 kB / 0.9838 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.002571, allocations: 12 kB / 0.9838 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.992e-05/0.002671, allocations: 47.84 kB / 0.9839 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002673, allocations: 0 / 0.9839 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.142e-06/0.002674, allocations: 4 kB / 0.9839 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.002677, allocations: 0 / 0.9839 GB, free: 15.22 MB / 0.9011 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.0003867/0.003064, allocations: 278.2 kB / 0.9841 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.0031, allocations: 8.031 kB / 0.9841 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.003129, allocations: 4.938 kB / 0.9841 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.873e-05/0.003218, allocations: 121.6 kB / 0.9843 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.003231, allocations: 384 / 0.9843 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.003241, allocations: 4.375 kB / 0.9843 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.003379, allocations: 66.2 kB / 0.9843 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.003386, allocations: 192 / 0.9843 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.003399, allocations: 8.375 kB / 0.9843 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.003403, allocations: 384 / 0.9843 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.003517, allocations: 47.89 kB / 0.9844 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.003828, allocations: 224.5 kB / 0.9846 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.003957, allocations: 62.61 kB / 0.9847 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.542e-05/0.004013, allocations: 24.92 kB / 0.9847 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.004027, allocations: 7.938 kB / 0.9847 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.004049, allocations: 38.5 kB / 0.9847 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.00405, allocations: 0 / 0.9847 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0002569/0.004307, allocations: 121.5 kB / 0.9848 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.004335, allocations: 51.41 kB / 0.9849 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.912e-05/0.004394, allocations: 109.8 kB / 0.985 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.004404, allocations: 25.7 kB / 0.985 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.004443, allocations: 88.14 kB / 0.9851 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.004458, allocations: 11.84 kB / 0.9851 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.004486, allocations: 21.7 kB / 0.9851 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.827e-05/0.004554, allocations: 314.8 kB / 0.9854 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.902e-05/0.004614, allocations: 23.97 kB / 0.9855 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.867e-05/0.004662, allocations: 23.98 kB / 0.9855 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.004762, allocations: 56.75 kB / 0.9855 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004764, allocations: 0 / 0.9855 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001266/0.00489, allocations: 81.92 kB / 0.9856 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.004905, allocations: 14.44 kB / 0.9856 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.004908, allocations: 48 / 0.9856 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.00492, allocations: 3.984 kB / 0.9856 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-05/0.004995, allocations: 19.98 kB / 0.9857 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.004999, allocations: 0 / 0.9857 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/0.00503, allocations: 11.92 kB / 0.9857 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.005037, allocations: 4.25 kB / 0.9857 GB, free: 13.21 MB / 0.9011 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 5.241e-05/0.005089, allocations: 105.8 kB / 0.9858 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.005106, allocations: 15.89 kB / 0.9858 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.481e-05/0.00512, allocations: 4 kB / 0.9858 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.005122, allocations: 0 / 0.9858 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.005127, allocations: 4 kB / 0.9858 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.00513, allocations: 7.984 kB / 0.9858 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.94e-05/0.005229, allocations: 121.2 kB / 0.9859 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.00523, allocations: 0 / 0.9859 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-05/0.005268, allocations: 11.98 kB / 0.9859 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.00527, allocations: 0 / 0.9859 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.005277, allocations: 7.875 kB / 0.9859 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.005278, allocations: 0 / 0.9859 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005279, allocations: 0 / 0.9859 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.00543, allocations: 183.5 kB / 0.9861 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-06/0.005436, allocations: 4 kB / 0.9861 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.005446, allocations: 3.938 kB / 0.9861 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.796e-05/0.005494, allocations: 7.984 kB / 0.9861 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.005541, allocations: 11.98 kB / 0.9861 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.005545, allocations: 4 kB / 0.9861 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.945e-05/0.005575, allocations: 87.27 kB / 0.9862 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.005575, allocations: 0 / 0.9862 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001459/0.005721, allocations: 11.94 kB / 0.9862 GB, free: 12.57 MB / 0.9011 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.335e-05/0.005784, allocations: 91.25 kB / 0.9863 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.005929, allocations: 63.94 kB / 0.9864 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.00593, allocations: 0 / 0.9864 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.301e-05/0.005983, allocations: 23.98 kB / 0.9864 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.006176, allocations: 11.92 kB / 0.9864 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/0.006439, allocations: 162.4 kB / 0.9866 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.758e-05/0.006486, allocations: 63.34 kB / 0.9866 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.006523, allocations: 20.48 kB / 0.9867 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of SimCode: time 5.51e-07/0.006523, allocations: 0 / 0.9867 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of Templates: time 0.001513/0.008036, allocations: 0.8195 MB / 0.9875 GB, free: 11.27 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.687405897304416]