Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007708/0.007708, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.00179/0.001791, allocations: 199 kB / 16.79 MB, free: 6.254 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.366/1.366, allocations: 222.9 MB / 240.5 MB, free: 4.559 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.651/2.651, allocations: 437 MB / 0.7106 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 59.91 kB / 0.8692 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7455/0.7469, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002464/0.7495, allocations: 0.9366 MB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001925/0.7497, allocations: 47.78 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.882e-05/0.7498, allocations: 4 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.248e-05/0.7499, allocations: 7.922 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.793e-05/0.75, allocations: 3.938 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.916e-05/0.7501, allocations: 23.92 kB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.7502, allocations: 83.72 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.7504, allocations: 49.08 kB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.452e-05/0.7505, allocations: 27.8 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.404e-05/0.7505, allocations: 39.78 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.7506, allocations: 4 kB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.7506, allocations: 8 kB / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.7506, allocations: 15.92 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.7507, allocations: 39.69 kB / 1.019 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.456e-05/0.7508, allocations: 73.81 kB / 1.019 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7508, allocations: 4 kB / 1.019 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7508, allocations: 0 / 1.019 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.7508, allocations: 0 / 1.019 GB, free: 1.379 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.0004974/0.7513, allocations: 399.3 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.7513, allocations: 8.031 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.7514, allocations: 12.84 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.7517, allocations: 208.2 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.7517, allocations: 8.562 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.7517, allocations: 8.375 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.752, allocations: 110.9 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.752, allocations: 0 / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.752, allocations: 7.938 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.752, allocations: 4 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.7521, allocations: 39.98 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000709/0.7529, allocations: 472.5 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.914e-05/0.7529, allocations: 45.08 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.224e-05/0.753, allocations: 21.84 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.753, allocations: 4 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.753, allocations: 30.56 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.753, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002096/0.7533, allocations: 57.45 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.7533, allocations: 81.09 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.7535, allocations: 186.9 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.7535, allocations: 25.7 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.7536, allocations: 112 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.7537, allocations: 7.891 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.7537, allocations: 17.72 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.7538, allocations: 326.8 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.926e-05/0.7538, allocations: 4 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.502e-05/0.7539, allocations: 21.72 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.267e-05/0.7539, allocations: 21.72 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.7539, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001072/0.754, allocations: 69.47 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.7541, allocations: 4 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.7541, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.7541, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/0.7542, allocations: 8.062 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.7542, allocations: 4 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.83e-05/0.7542, allocations: 15.78 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.7542, allocations: 0 / 1.021 GB, free: 14.82 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 9.001e-05/0.7543, allocations: 121.8 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.7544, allocations: 11.81 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.94e-05/0.7544, allocations: 12.56 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.7544, allocations: 4 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.7544, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.7545, allocations: 3.938 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004156/0.7549, allocations: 474.8 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.7549, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.211e-05/0.7549, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.7549, allocations: 4.109 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.7549, allocations: 7.875 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7549, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.755, allocations: 3.984 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.936e-05/0.7551, allocations: 77.97 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.756e-05/0.7551, allocations: 96.91 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.7552, allocations: 3.938 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.23e-05/0.7552, allocations: 0 / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.7552, allocations: 3.938 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.7552, allocations: 4 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001113/0.7553, allocations: 136.3 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7553, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001892/0.7555, allocations: 8 kB / 1.022 GB, free: 13.75 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.0001295/0.7557, allocations: 100 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.798e-05/0.7558, allocations: 16 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7558, allocations: 0 / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.688e-05/0.7558, allocations: 16.12 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.756, allocations: 11.98 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.7564, allocations: 236.3 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.7567, allocations: 0.6965 MB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.7567, allocations: 11.44 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of SimCode: time 1.563e-06/0.7567, allocations: 4 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of Templates: time 0.002567/0.7593, allocations: 0.9924 MB / 1.024 GB, free: 11.61 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches