Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001167/0.001168, allocations: 105.5 kB / 16.38 MB, free: 6.477 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.001184/0.001184, allocations: 194 kB / 17.32 MB, free: 5.816 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.453/1.453, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.555/2.555, allocations: 442.6 MB / 0.7166 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 66.39 kB / 0.8774 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3216, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001969/0.3237, allocations: 0.6582 MB / 1.027 GB, free: 1.434 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009052/0.3246, allocations: 0.8312 MB / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.3246, allocations: 0 / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.39e-05/0.3247, allocations: 7.922 kB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.663e-05/0.3248, allocations: 3.938 kB / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.3249, allocations: 23.91 kB / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.237e-05/0.325, allocations: 47.97 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3251, allocations: 12 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.551e-05/0.3252, allocations: 23.86 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.442e-05/0.3253, allocations: 31.89 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.3253, allocations: 4 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.578e-05/0.3253, allocations: 4 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.3253, allocations: 7.938 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.3254, allocations: 23.86 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.033e-05/0.3255, allocations: 43.84 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3255, allocations: 4 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3255, allocations: 0 / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3255, allocations: 0 / 1.028 GB, free: 364 kB / 0.795 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.0005069/0.326, allocations: 347.4 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3261, allocations: 8.031 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.3261, allocations: 4.938 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.3262, allocations: 172.3 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3263, allocations: 4.312 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.3263, allocations: 4.375 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.3265, allocations: 78.14 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3265, allocations: 192 / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.3265, allocations: 11.92 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3265, allocations: 0 / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.3267, allocations: 47.95 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.3271, allocations: 296.7 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.3273, allocations: 58.55 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.3275, allocations: 32.91 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.3275, allocations: 4 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.3275, allocations: 34.56 kB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3275, allocations: 0 / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003976/0.3279, allocations: 117.5 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.328, allocations: 51.41 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.423e-05/0.328, allocations: 105.8 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.3281, allocations: 25.7 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.3281, allocations: 84.14 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.3281, allocations: 15.8 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.3282, allocations: 21.72 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.3283, allocations: 310.8 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.566e-05/0.3284, allocations: 23.97 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.609e-05/0.3285, allocations: 23.97 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.3287, allocations: 56.81 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3287, allocations: 3.938 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002279/0.3289, allocations: 85.59 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3289, allocations: 4 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3289, allocations: 0 / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.329, allocations: 0 / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3291, allocations: 15.97 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3291, allocations: 4 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.246e-05/0.3292, allocations: 8 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.3292, allocations: 3.938 kB / 1.03 GB, free: 14.11 MB / 0.8106 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.764e-05/0.3293, allocations: 125.7 kB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.3293, allocations: 3.906 kB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.3293, allocations: 11.84 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3293, allocations: 0 / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3293, allocations: 0 / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.3294, allocations: 81.11 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.3294, allocations: 0 / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.609e-05/0.3295, allocations: 7.984 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.3296, allocations: 19.92 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000316/0.3299, allocations: 173.2 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002872/0.3302, allocations: 254.8 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001111/0.3303, allocations: 35.97 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.364e-05/0.3304, allocations: 79.28 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of Backend: time 4.01e-07/0.3304, allocations: 0 / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004072/0.3308, allocations: 111.1 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of SimCode: time 0.0005149/0.3313, allocations: 0.5804 MB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of Templates: time 0.003171/0.3345, allocations: 0.9696 MB / 1.033 GB, free: 11.56 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches