Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 86.17 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001586/0.001587, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.444/2.444, allocations: 390.9 MB / 0.666 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005036/0.0005041, allocations: 12 kB / 0.8154 GB, free: 13.55 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8664/0.867, allocations: 142.4 MB / 0.9544 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001231/0.8683, allocations: 379.3 kB / 0.9548 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.8694, allocations: 0.8307 MB / 0.9556 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.8695, allocations: 1.094 kB / 0.9556 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.8695, allocations: 0 / 0.9556 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.8696, allocations: 3.938 kB / 0.9556 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.8698, allocations: 17.42 kB / 0.9556 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.8699, allocations: 33.48 kB / 0.9557 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.8701, allocations: 21.62 kB / 0.9557 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.678e-05/0.8702, allocations: 17.58 kB / 0.9557 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.785e-05/0.8703, allocations: 22.3 kB / 0.9557 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.8703, allocations: 1.938 kB / 0.9557 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.835e-05/0.8703, allocations: 2 kB / 0.9557 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.8704, allocations: 8.984 kB / 0.9557 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.267e-05/0.8704, allocations: 31.67 kB / 0.9558 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.159e-05/0.8705, allocations: 34.27 kB / 0.9558 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.8705, allocations: 0 / 0.9558 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.116e-06/0.8705, allocations: 1.375 kB / 0.9558 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.8705, allocations: 0 / 0.9558 GB, free: 6.879 MB / 0.7169 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.0005646/0.8711, allocations: 353 kB / 0.9561 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.8712, allocations: 9.75 kB / 0.9562 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.8712, allocations: 10.14 kB / 0.9562 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.8714, allocations: 165.3 kB / 0.9563 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.8714, allocations: 1.188 kB / 0.9563 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.8715, allocations: 2.125 kB / 0.9563 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.8717, allocations: 77.28 kB / 0.9564 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.8717, allocations: 0 / 0.9564 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.8717, allocations: 0 / 0.9564 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.8718, allocations: 1.219 kB / 0.9564 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.872, allocations: 76.75 kB / 0.9565 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005903/0.8726, allocations: 280 kB / 0.9567 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.8729, allocations: 64.73 kB / 0.9568 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.873, allocations: 39.59 kB / 0.9568 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.873, allocations: 5.531 kB / 0.9568 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.8731, allocations: 30.56 kB / 0.9569 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.894e-06/0.8731, allocations: 0 / 0.9569 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0005125/0.8736, allocations: 135.3 kB / 0.957 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.8737, allocations: 56.33 kB / 0.9571 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.8738, allocations: 101.8 kB / 0.9572 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.8738, allocations: 25.7 kB / 0.9572 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.8739, allocations: 94.47 kB / 0.9573 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.8739, allocations: 12.94 kB / 0.9573 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.8739, allocations: 0 / 0.9573 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.874, allocations: 320.9 kB / 0.9576 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.8741, allocations: 28.22 kB / 0.9576 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.611e-05/0.8742, allocations: 33.7 kB / 0.9576 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.8743, allocations: 29 kB / 0.9577 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8743, allocations: 0.9062 kB / 0.9577 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002225/0.8746, allocations: 99.27 kB / 0.9578 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.8746, allocations: 4.844 kB / 0.9578 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.8746, allocations: 3.938 kB / 0.9578 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.8746, allocations: 3.953 kB / 0.9578 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.8748, allocations: 15.36 kB / 0.9578 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.8748, allocations: 1.625 kB / 0.9578 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.544e-05/0.8749, allocations: 10.02 kB / 0.9578 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.8749, allocations: 5.469 kB / 0.9578 GB, free: 4.961 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.457e-05/0.875, allocations: 111.5 kB / 0.9579 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.875, allocations: 9.531 kB / 0.9579 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.875, allocations: 5.312 kB / 0.9579 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.8751, allocations: 5.641 kB / 0.9579 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.8751, allocations: 4 kB / 0.9579 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.8751, allocations: 0 / 0.9579 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.8753, allocations: 175 kB / 0.9581 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8753, allocations: 0 / 0.9581 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.756e-05/0.8754, allocations: 19.36 kB / 0.9581 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.8754, allocations: 1.438 kB / 0.9581 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.8754, allocations: 0 / 0.9581 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.8754, allocations: 1.531 kB / 0.9581 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.8754, allocations: 3.953 kB / 0.9581 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.8757, allocations: 188.8 kB / 0.9583 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.8757, allocations: 86.16 kB / 0.9584 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.8757, allocations: 1.625 kB / 0.9584 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.747e-05/0.8758, allocations: 6.031 kB / 0.9584 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/0.8759, allocations: 15.7 kB / 0.9584 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.8759, allocations: 9.438 kB / 0.9584 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.844e-05/0.876, allocations: 88.69 kB / 0.9585 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.876, allocations: 0 / 0.9585 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002168/0.8762, allocations: 5.844 kB / 0.9585 GB, free: 4.234 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001281/0.8763, allocations: 101 kB / 0.9586 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002518/0.8766, allocations: 75.34 kB / 0.9587 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8766, allocations: 0 / 0.9587 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.8767, allocations: 38.78 kB / 0.9587 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.877, allocations: 2.375 kB / 0.9587 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003894/0.8774, allocations: 134.6 kB / 0.9589 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.8776, allocations: 0.6837 MB / 0.9595 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.057e-05/0.8777, allocations: 4.125 kB / 0.9595 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.8777, allocations: 10.19 kB / 0.9595 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.8777, allocations: 4 kB / 0.9595 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of Templates: time 0.003319/0.8811, allocations: 0.7376 MB / 0.9603 GB, free: 2.863 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches