Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001214, allocations: 100.1 kB / 15.88 MB, free: 12 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.001369/0.001368, allocations: 200.1 kB / 16.79 MB, free: 6.809 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.436/1.436, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.682/2.682, allocations: 437 MB / 0.7106 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 59.91 kB / 0.8692 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5985/0.5999, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002359/0.6023, allocations: 0.9404 MB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001761/0.6025, allocations: 55.64 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.452e-05/0.6026, allocations: 4 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.543e-05/0.6027, allocations: 3.938 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.6028, allocations: 15.92 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.775e-05/0.6029, allocations: 19.98 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.603, allocations: 71.78 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.6032, allocations: 53.08 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.839e-05/0.6032, allocations: 27.81 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.981e-05/0.6033, allocations: 35.78 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.6034, allocations: 4 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.506e-05/0.6034, allocations: 4 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.585e-05/0.6034, allocations: 19.92 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.6035, allocations: 43.67 kB / 1.019 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.6036, allocations: 65.83 kB / 1.019 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.6036, allocations: 0 / 1.019 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.002e-06/0.6036, allocations: 7.938 kB / 1.019 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.6036, allocations: 0 / 1.019 GB, free: 1.441 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005327/0.6041, allocations: 403.3 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.6042, allocations: 8.031 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.6042, allocations: 8.844 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.6045, allocations: 212.2 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.6045, allocations: 4.562 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.6045, allocations: 8.375 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.6047, allocations: 116.2 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.6048, allocations: 0 / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.6048, allocations: 4 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.6048, allocations: 7.984 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.571e-05/0.6049, allocations: 39.98 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.6055, allocations: 464.4 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.876e-05/0.6056, allocations: 37.2 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/0.6056, allocations: 21.72 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.6057, allocations: 224 / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.6057, allocations: 38.56 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.6057, allocations: 3.938 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000192/0.6059, allocations: 61.44 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.606, allocations: 81.11 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.6061, allocations: 174.7 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.6062, allocations: 25.7 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.501e-05/0.6062, allocations: 116 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.6063, allocations: 12.14 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.6063, allocations: 13.72 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6064, allocations: 330.8 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.6065, allocations: 7.938 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.108e-05/0.6065, allocations: 17.72 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.956e-05/0.6065, allocations: 25.66 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6066, allocations: 4 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.615e-05/0.6067, allocations: 61.59 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.6067, allocations: 4 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.6067, allocations: 7.938 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.6067, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.977e-05/0.6068, allocations: 8 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.6068, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.697e-05/0.6068, allocations: 19.77 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.6069, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * 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.629e-05/0.6069, allocations: 117.9 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.607, allocations: 11.81 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.607, allocations: 12.56 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.607, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.607, allocations: 4 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.607, allocations: 7.922 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.6074, allocations: 470.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.6074, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.15e-05/0.6075, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.6075, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.6075, allocations: 11.92 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.6075, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6075, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.589e-05/0.6076, allocations: 81.91 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.6077, allocations: 92.91 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.6077, allocations: 11.88 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.131e-05/0.6077, allocations: 0 / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.6077, allocations: 0 / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.6077, allocations: 0 / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001106/0.6079, allocations: 140.3 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6079, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001901/0.6081, allocations: 8 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001232/0.6082, allocations: 104.1 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.748e-05/0.6083, allocations: 15.94 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6083, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-05/0.6083, allocations: 7.984 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.6085, allocations: 10.25 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/0.6089, allocations: 246.4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.6092, allocations: 0.6965 MB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.6092, allocations: 15.38 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.6092, allocations: 0 / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.002408/0.6116, allocations: 0.977 MB / 1.024 GB, free: 11.68 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches