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.001653/0.001653, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.00198/0.00198, allocations: 193 kB / 16.91 MB, free: 6.195 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.443/1.443, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.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.315/2.315, allocations: 390.2 MB / 0.665 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 64.48 kB / 0.8127 GB, free: 33.23 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2671, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.00192/0.2691, allocations: 0.7227 MB / 0.9505 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009262/0.27, allocations: 0.8351 MB / 0.9513 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.79e-05/0.2701, allocations: 4 kB / 0.9513 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.487e-05/0.2701, allocations: 3.938 kB / 0.9513 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.71e-05/0.2702, allocations: 0 / 0.9513 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.2704, allocations: 19.98 kB / 0.9513 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.914e-05/0.2704, allocations: 35.92 kB / 0.9514 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2705, allocations: 19.97 kB / 0.9514 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.47e-05/0.2706, allocations: 19.92 kB / 0.9514 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.784e-05/0.2707, allocations: 19.92 kB / 0.9514 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.2707, allocations: 8 kB / 0.9514 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.2707, allocations: 4 kB / 0.9514 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/0.2708, allocations: 19.91 kB / 0.9515 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.2708, allocations: 15.94 kB / 0.9515 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.862e-05/0.2709, allocations: 27.94 kB / 0.9515 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.2709, allocations: 0 / 0.9515 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2709, allocations: 3.938 kB / 0.9515 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2709, allocations: 0 / 0.9515 GB, free: 7.449 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.0004957/0.2714, allocations: 363.6 kB / 0.9518 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2715, allocations: 8.031 kB / 0.9519 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.2715, allocations: 4.938 kB / 0.9519 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.2716, allocations: 168.3 kB / 0.952 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.2717, allocations: 8.312 kB / 0.952 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.2717, allocations: 4.375 kB / 0.952 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.2719, allocations: 66.22 kB / 0.9521 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.2719, allocations: 192 / 0.9521 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.2719, allocations: 3.938 kB / 0.9521 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.2719, allocations: 0 / 0.9521 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.2721, allocations: 63.86 kB / 0.9522 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.2726, allocations: 284.8 kB / 0.9524 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.2728, allocations: 66.53 kB / 0.9525 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.2729, allocations: 32.91 kB / 0.9525 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.2729, allocations: 0 / 0.9525 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.2729, allocations: 34.5 kB / 0.9526 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2729, allocations: 0 / 0.9526 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003994/0.2733, allocations: 109.5 kB / 0.9527 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.2734, allocations: 55.41 kB / 0.9527 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.428e-05/0.2735, allocations: 105.8 kB / 0.9528 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.2735, allocations: 25.7 kB / 0.9528 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.2736, allocations: 88.14 kB / 0.9529 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.2736, allocations: 7.812 kB / 0.9529 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.2736, allocations: 25.64 kB / 0.953 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.2737, allocations: 314.8 kB / 0.9533 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.2738, allocations: 27.97 kB / 0.9533 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.028e-05/0.2739, allocations: 27.97 kB / 0.9533 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.2741, allocations: 52.7 kB / 0.9534 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2741, allocations: 256 / 0.9534 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002442/0.2744, allocations: 85.64 kB / 0.9534 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2744, allocations: 4 kB / 0.9534 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2744, allocations: 8 kB / 0.9535 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2744, allocations: 0 / 0.9535 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.2746, allocations: 15.98 kB / 0.9535 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2746, allocations: 0 / 0.9535 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.026e-05/0.2747, allocations: 7.984 kB / 0.9535 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.2747, allocations: 0 / 0.9535 GB, free: 5.195 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 8.186e-05/0.2748, allocations: 125.7 kB / 0.9536 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.2748, allocations: 3.984 kB / 0.9536 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/0.2748, allocations: 7.906 kB / 0.9536 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2748, allocations: 4 kB / 0.9536 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2748, allocations: 0 / 0.9536 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2748, allocations: 0 / 0.9536 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.275, allocations: 181.6 kB / 0.9538 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.275, allocations: 0 / 0.9538 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.633e-05/0.2751, allocations: 15.98 kB / 0.9538 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2751, allocations: 0 / 0.9538 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.2752, allocations: 0 / 0.9538 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2752, allocations: 0 / 0.9538 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2752, allocations: 4 kB / 0.9538 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.2754, allocations: 183.8 kB / 0.954 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.2755, allocations: 85.05 kB / 0.9541 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.2755, allocations: 0 / 0.9541 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.2756, allocations: 7.984 kB / 0.9541 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.2757, allocations: 15.92 kB / 0.9541 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.2757, allocations: 4 kB / 0.9541 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.399e-05/0.2757, allocations: 83.28 kB / 0.9542 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2757, allocations: 0 / 0.9542 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002265/0.276, allocations: 11.91 kB / 0.9542 GB, free: 4.379 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 9.553e-05/0.2761, allocations: 99.23 kB / 0.9543 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002471/0.2763, allocations: 55.95 kB / 0.9543 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2763, allocations: 4 kB / 0.9543 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.2765, allocations: 31.91 kB / 0.9544 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.2768, allocations: 23.52 kB / 0.9544 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.2771, allocations: 163.3 kB / 0.9545 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.2773, allocations: 0.6883 MB / 0.9552 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.2774, allocations: 11.44 kB / 0.9552 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.2774, allocations: 0 / 0.9552 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of Templates: time 0.002072/0.2795, allocations: 0.7905 MB / 0.956 GB, free: 2.461 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 -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