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.008204/0.008205, allocations: 101.9 kB / 15.73 MB, free: 6.023 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.001762/0.001762, allocations: 196.1 kB / 16.68 MB, free: 5.934 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.34/2.34, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 59.91 kB / 0.9508 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9954/0.997, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002046/0.9991, allocations: 0.6743 MB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009601/1, allocations: 0.8347 MB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/1, allocations: 1.219 kB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.598e-05/1, allocations: 4.453 kB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.982e-05/1, allocations: 5.797 kB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/1, allocations: 29.86 kB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.892e-05/1, allocations: 36.55 kB / 1.089 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/1.001, allocations: 16.2 kB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.509e-05/1.001, allocations: 26.16 kB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.939e-05/1.001, allocations: 21.61 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/1.001, allocations: 4.312 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.272e-05/1.001, allocations: 4.312 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/1.001, allocations: 15.39 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/1.001, allocations: 21.69 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/1.001, allocations: 42.02 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.001, allocations: 1.094 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/1.001, allocations: 0 / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.11e-06/1.001, allocations: 0 / 1.09 GB, free: 4.336 MB / 0.8575 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.0004637/1.001, allocations: 348.7 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/1.002, allocations: 9.062 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/1.002, allocations: 7.641 kB / 1.09 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.679e-05/1.002, allocations: 171.9 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/1.002, allocations: 10.69 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/1.002, allocations: 3.016 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/1.002, allocations: 72.97 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.002, allocations: 0.9844 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/1.002, allocations: 3.938 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/1.002, allocations: 1.094 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/1.002, allocations: 48.25 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/1.003, allocations: 288.5 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/1.003, allocations: 66.28 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/1.003, allocations: 28.61 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/1.003, allocations: 1.094 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/1.003, allocations: 40.23 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/1.003, allocations: 0 / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004627/1.003, allocations: 105.6 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/1.004, allocations: 56.73 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.567e-05/1.004, allocations: 105.4 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/1.004, allocations: 29.7 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/1.004, allocations: 90.97 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/1.004, allocations: 14.83 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/1.004, allocations: 15.88 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.026e-05/1.004, allocations: 317.4 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/1.004, allocations: 22.52 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.795e-05/1.004, allocations: 24.12 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/1.004, allocations: 61.91 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.004, allocations: 0 / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002342/1.004, allocations: 91.56 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.004, allocations: 6.422 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/1.004, allocations: 0 / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/1.005, allocations: 1.062 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/1.005, allocations: 12.81 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/1.005, allocations: 4 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.595e-05/1.005, allocations: 7.031 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/1.005, allocations: 2.859 kB / 1.092 GB, free: 2.539 MB / 0.8575 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.013e-05/1.005, allocations: 116.3 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/1.005, allocations: 6.578 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/1.005, allocations: 13.62 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/1.005, allocations: 0 / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/1.005, allocations: 1.781 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/1.005, allocations: 0 / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/1.005, allocations: 186.2 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.005, allocations: 0 / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.887e-05/1.005, allocations: 12.92 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.005, allocations: 1.188 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/1.005, allocations: 1.781 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/1.005, allocations: 3.938 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.005, allocations: 0.6094 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/1.005, allocations: 183.8 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/1.005, allocations: 79.56 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/1.005, allocations: 1.922 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.441e-05/1.006, allocations: 5.703 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/1.006, allocations: 10.92 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/1.006, allocations: 2.016 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.947e-05/1.006, allocations: 86.14 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/1.006, allocations: 0.7812 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002173/1.006, allocations: 14.17 kB / 1.092 GB, free: 1.852 MB / 0.8575 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.877e-05/1.006, allocations: 101.6 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002748/1.006, allocations: 59.92 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.006, allocations: 0.875 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/1.006, allocations: 29.22 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/1.007, allocations: 17.31 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/1.007, allocations: 120.5 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/1.007, allocations: 0.6814 MB / 1.093 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.484e-05/1.007, allocations: 4.859 kB / 1.093 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/1.007, allocations: 16.73 kB / 1.093 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of SimCode: time 1.613e-06/1.007, allocations: 0 / 1.093 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of Templates: time 0.00352/1.011, allocations: 0.8879 MB / 1.094 GB, free: 0.8164 MB / 0.8575 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