Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.001729/0.001729, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002429/0.002429, allocations: 195.7 kB / 16.14 MB, free: 6.648 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.415/1.415, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.00145, allocations: 65.64 kB / 0.9114 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4076, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002635/0.4103, allocations: 0.9446 MB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001598/0.4104, allocations: 59.77 kB / 1.069 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.6e-05/0.4105, allocations: 0 / 1.069 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.627e-05/0.4106, allocations: 7.875 kB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.746e-05/0.4107, allocations: 3.938 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.559e-05/0.4108, allocations: 19.98 kB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.4109, allocations: 75.84 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.4111, allocations: 57 kB / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.991e-05/0.4112, allocations: 27.8 kB / 1.069 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.687e-05/0.4112, allocations: 35.78 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.4113, allocations: 4 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.506e-05/0.4113, allocations: 4 kB / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.4113, allocations: 19.92 kB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.674e-05/0.4114, allocations: 39.73 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.4116, allocations: 91.83 kB / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4116, allocations: 4 kB / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4116, allocations: 0 / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.4116, allocations: 0 / 1.069 GB, free: 9.496 MB / 0.8262 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.0005659/0.4122, allocations: 399.4 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4122, allocations: 11.97 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.4122, allocations: 12.75 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.4125, allocations: 200.4 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.4125, allocations: 8.562 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.4126, allocations: 4.375 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.4128, allocations: 116.9 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4128, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4128, allocations: 4 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.4128, allocations: 4 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.027e-05/0.4129, allocations: 43.97 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.4135, allocations: 484.2 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.668e-05/0.4136, allocations: 37.22 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.571e-05/0.4136, allocations: 13.78 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.4136, allocations: 0 / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.4137, allocations: 46.5 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.4137, allocations: 0 / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001881/0.4139, allocations: 53.53 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.4139, allocations: 81.11 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.4141, allocations: 179.2 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.4141, allocations: 25.7 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.583e-05/0.4142, allocations: 116 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.894e-06/0.4142, allocations: 8.156 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.4143, allocations: 21.62 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.4144, allocations: 326.8 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/0.4144, allocations: 0 / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-05/0.4144, allocations: 25.7 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.238e-05/0.4145, allocations: 25.66 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.4145, allocations: 8 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.67e-05/0.4146, allocations: 57.61 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4146, allocations: 4 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.4146, allocations: 0 / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.4146, allocations: 0 / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.575e-05/0.4147, allocations: 15.92 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4147, allocations: 0 / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.166e-05/0.4148, allocations: 11.78 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.4148, allocations: 4 kB / 1.071 GB, free: 6.934 MB / 0.8262 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.787e-05/0.4149, allocations: 117.9 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.4149, allocations: 7.906 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.676e-05/0.4149, allocations: 16.55 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4149, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.4149, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.415, allocations: 7.938 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/0.4154, allocations: 474.9 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.4154, allocations: 112 / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.066e-05/0.4154, allocations: 11.92 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4154, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.4155, allocations: 7.938 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4155, allocations: 0 / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4155, allocations: 0 / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.4156, allocations: 89.77 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.798e-05/0.4157, allocations: 85.02 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.4157, allocations: 7.938 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.049e-05/0.4157, allocations: 0 / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.112e-05/0.4158, allocations: 7.984 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.4158, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001324/0.4159, allocations: 131.2 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4159, allocations: 0 / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001907/0.4161, allocations: 11.94 kB / 1.072 GB, free: 5.863 MB / 0.8262 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.000166/0.4163, allocations: 99.28 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.4164, allocations: 23.92 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4164, allocations: 0 / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.235e-05/0.4164, allocations: 8 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.4166, allocations: 15 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.417, allocations: 216.7 kB / 1.072 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.4173, allocations: 0.7004 MB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.118e-05/0.4174, allocations: 16.48 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.4174, allocations: 11.44 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of SimCode: time 6.01e-07/0.4174, allocations: 0 / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of Templates: time 0.003145/0.4206, allocations: 492.5 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches