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.001497/0.001497, allocations: 106.4 kB / 16.35 MB, free: 5.824 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.001665/0.001666, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.285/2.285, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 65.2 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.291, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001804/0.2929, allocations: 0.6576 MB / 0.9518 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008716/0.2938, allocations: 0.8333 MB / 0.9526 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.2938, allocations: 0 / 0.9526 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.2939, allocations: 7.922 kB / 0.9526 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.344e-05/0.294, allocations: 15.92 kB / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.2941, allocations: 15.98 kB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.424e-05/0.2942, allocations: 39.91 kB / 0.9527 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.857e-05/0.2943, allocations: 16 kB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.94e-05/0.2943, allocations: 23.91 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.017e-05/0.2944, allocations: 23.91 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.2944, allocations: 4 kB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.232e-05/0.2945, allocations: 7.938 kB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.2945, allocations: 15.88 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.045e-05/0.2945, allocations: 15.92 kB / 0.9528 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.946e-05/0.2946, allocations: 51.8 kB / 0.9528 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2946, allocations: 0 / 0.9528 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.366e-06/0.2946, allocations: 3.984 kB / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2946, allocations: 4 kB / 0.9528 GB, free: 6.309 MB / 0.7325 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.0004502/0.2951, allocations: 351.3 kB / 0.9532 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.2951, allocations: 8.031 kB / 0.9532 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.2952, allocations: 4.938 kB / 0.9532 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.2953, allocations: 172.3 kB / 0.9533 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.2953, allocations: 384 / 0.9533 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.2953, allocations: 4.375 kB / 0.9533 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.2955, allocations: 78.14 kB / 0.9534 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.2956, allocations: 192 / 0.9534 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.2956, allocations: 3.938 kB / 0.9534 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.2956, allocations: 4 kB / 0.9534 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.2958, allocations: 43.95 kB / 0.9535 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.2962, allocations: 292.7 kB / 0.9537 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.2964, allocations: 70.52 kB / 0.9538 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.2965, allocations: 28.88 kB / 0.9538 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.2965, allocations: 0 / 0.9538 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.2966, allocations: 30.56 kB / 0.9539 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.2966, allocations: 0 / 0.9539 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003916/0.297, allocations: 113.5 kB / 0.954 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.297, allocations: 51.41 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.483e-05/0.2971, allocations: 109.8 kB / 0.9541 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.2971, allocations: 29.7 kB / 0.9542 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/0.2972, allocations: 84.14 kB / 0.9542 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.2972, allocations: 7.812 kB / 0.9542 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.2972, allocations: 21.7 kB / 0.9543 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.971e-05/0.2973, allocations: 318.8 kB / 0.9546 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.2974, allocations: 23.97 kB / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.778e-05/0.2975, allocations: 27.97 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.2977, allocations: 52.75 kB / 0.9547 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2977, allocations: 3.938 kB / 0.9547 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002441/0.298, allocations: 85.66 kB / 0.9548 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.298, allocations: 9.875 kB / 0.9548 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.298, allocations: 256 / 0.9548 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.298, allocations: 0 / 0.9548 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.2982, allocations: 19.92 kB / 0.9548 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2982, allocations: 3.984 kB / 0.9548 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.2983, allocations: 4 kB / 0.9548 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.2983, allocations: 7.938 kB / 0.9548 GB, free: 4.059 MB / 0.7325 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 7.869e-05/0.2984, allocations: 117.8 kB / 0.9549 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.2984, allocations: 7.984 kB / 0.9549 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.02e-05/0.2984, allocations: 3.906 kB / 0.9549 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2984, allocations: 0 / 0.9549 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2984, allocations: 0 / 0.9549 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2984, allocations: 336 / 0.9549 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.2986, allocations: 181.5 kB / 0.9551 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2986, allocations: 0 / 0.9551 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.753e-05/0.2987, allocations: 15.98 kB / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2987, allocations: 0 / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.2987, allocations: 4 kB / 0.9551 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.2988, allocations: 3.984 kB / 0.9551 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.2988, allocations: 3.984 kB / 0.9551 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.299, allocations: 187.4 kB / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.2991, allocations: 81.05 kB / 0.9554 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.2991, allocations: 0 / 0.9554 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.713e-05/0.2992, allocations: 11.98 kB / 0.9554 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.2993, allocations: 11.98 kB / 0.9554 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.2993, allocations: 0 / 0.9554 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.686e-05/0.2993, allocations: 87.28 kB / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2993, allocations: 0 / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002248/0.2996, allocations: 7.906 kB / 0.9555 GB, free: 3.25 MB / 0.7325 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.0001031/0.2997, allocations: 103.2 kB / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.2999, allocations: 59.89 kB / 0.9556 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2999, allocations: 0 / 0.9556 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.3, allocations: 31.97 kB / 0.9557 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.3003, allocations: 3.938 kB / 0.9557 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.3007, allocations: 133.5 kB / 0.9558 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.3009, allocations: 0.6883 MB / 0.9565 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.762e-05/0.301, allocations: 4 kB / 0.9565 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.301, allocations: 15.42 kB / 0.9565 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.301, allocations: 0 / 0.9565 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of Templates: time 0.002995/0.304, allocations: 0.8741 MB / 0.9573 GB, free: 1.289 MB / 0.7325 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 -s gbode -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/jenkins1/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