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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001289/0.001289, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 192.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.597/2.597, allocations: 390.2 MB / 0.6647 GB, free: 288 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 63.89 kB / 0.8125 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.904/0.9056, allocations: 140.3 MB / 0.9496 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002183/0.9078, allocations: 0.6578 MB / 0.9502 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.9089, allocations: 0.8389 MB / 0.9511 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.9089, allocations: 1.25 kB / 0.9511 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.079e-05/0.9089, allocations: 0 / 0.9511 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.891e-05/0.9091, allocations: 9.359 kB / 0.9511 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.9092, allocations: 28.66 kB / 0.9511 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.041e-05/0.9093, allocations: 41.58 kB / 0.9511 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.9095, allocations: 18.23 kB / 0.9511 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.61e-05/0.9095, allocations: 18.39 kB / 0.9512 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.042e-05/0.9096, allocations: 27.03 kB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.9097, allocations: 4.281 kB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.651e-05/0.9097, allocations: 4.125 kB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.9097, allocations: 13.2 kB / 0.9512 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.9097, allocations: 15.59 kB / 0.9512 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.9099, allocations: 42.94 kB / 0.9513 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.9099, allocations: 1.156 kB / 0.9513 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.784e-06/0.9099, allocations: 4 kB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.9099, allocations: 0 / 0.9513 GB, free: 7.863 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.0005154/0.9104, allocations: 351 kB / 0.9516 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.9105, allocations: 9.156 kB / 0.9516 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.9105, allocations: 7 kB / 0.9516 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.9106, allocations: 170.9 kB / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.9107, allocations: 2.906 kB / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.9107, allocations: 1.656 kB / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.9109, allocations: 77.14 kB / 0.9519 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.9109, allocations: 4.125 kB / 0.9519 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.9109, allocations: 7.938 kB / 0.9519 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.9109, allocations: 1.344 kB / 0.9519 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.9111, allocations: 50.84 kB / 0.9519 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.9116, allocations: 292.8 kB / 0.9522 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.9118, allocations: 59.48 kB / 0.9523 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.9119, allocations: 39.19 kB / 0.9523 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.9119, allocations: 0 / 0.9523 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.9119, allocations: 35.53 kB / 0.9523 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.9119, allocations: 1.125 kB / 0.9523 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004226/0.9124, allocations: 107.9 kB / 0.9524 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.9124, allocations: 52.56 kB / 0.9525 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.999e-05/0.9125, allocations: 105.3 kB / 0.9526 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.9125, allocations: 27.14 kB / 0.9526 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.9126, allocations: 93.25 kB / 0.9527 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.9126, allocations: 13.12 kB / 0.9527 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.9126, allocations: 17.66 kB / 0.9527 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.23e-05/0.9127, allocations: 317 kB / 0.953 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.922e-05/0.9128, allocations: 20.3 kB / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.918e-05/0.9129, allocations: 23.94 kB / 0.9531 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.9131, allocations: 63.5 kB / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9131, allocations: 0 / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002244/0.9133, allocations: 88.77 kB / 0.9532 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.9133, allocations: 6.594 kB / 0.9532 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.9134, allocations: 0 / 0.9532 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.9134, allocations: 5.25 kB / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.9135, allocations: 12.98 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.9135, allocations: 0 / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.9136, allocations: 11.78 kB / 0.9533 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.9136, allocations: 5.734 kB / 0.9533 GB, free: 5.902 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.489e-05/0.9137, allocations: 112.5 kB / 0.9534 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.9137, allocations: 1.531 kB / 0.9534 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.737e-05/0.9137, allocations: 9.406 kB / 0.9534 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.9137, allocations: 3.938 kB / 0.9534 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.9138, allocations: 0 / 0.9534 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.9138, allocations: 1.094 kB / 0.9534 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.9139, allocations: 175.5 kB / 0.9535 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9139, allocations: 4 kB / 0.9536 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.863e-05/0.914, allocations: 12.23 kB / 0.9536 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.914, allocations: 1.5 kB / 0.9536 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.914, allocations: 3.938 kB / 0.9536 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.914, allocations: 1.562 kB / 0.9536 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.9141, allocations: 4 kB / 0.9536 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.9143, allocations: 191.6 kB / 0.9538 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.9144, allocations: 79.02 kB / 0.9538 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.9144, allocations: 3.984 kB / 0.9538 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-05/0.9145, allocations: 4.531 kB / 0.9538 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.9146, allocations: 10.8 kB / 0.9539 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.9146, allocations: 5.344 kB / 0.9539 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.24e-05/0.9146, allocations: 89.2 kB / 0.9539 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9146, allocations: 0 / 0.9539 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002202/0.9148, allocations: 7.094 kB / 0.9539 GB, free: 5.18 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 (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.849e-05/0.915, allocations: 100.1 kB / 0.954 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002649/0.9152, allocations: 57.5 kB / 0.9541 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.9152, allocations: 4 kB / 0.9541 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.9153, allocations: 30.47 kB / 0.9541 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.9157, allocations: 6.594 kB / 0.9541 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.9161, allocations: 138.9 kB / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.9162, allocations: 0.687 MB / 0.9549 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.515e-05/0.9162, allocations: 7.828 kB / 0.9549 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.9163, allocations: 14.94 kB / 0.955 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.9163, allocations: 1.094 kB / 0.955 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of Templates: time 0.003397/0.9197, allocations: 0.8641 MB / 0.9558 GB, free: 3.75 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