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.001219/0.001219, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.00124/0.00124, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.335/1.335, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.62/2.62, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 68.02 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7169/0.7188, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.0021/0.7209, allocations: 0.8764 MB / 1.084 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000144/0.7211, allocations: 50.62 kB / 1.084 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.647e-05/0.7212, allocations: 1.969 kB / 1.084 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.813e-05/0.7213, allocations: 15 kB / 1.084 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.11e-05/0.7213, allocations: 8.672 kB / 1.084 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.384e-05/0.7214, allocations: 30.77 kB / 1.084 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.7215, allocations: 83.48 kB / 1.084 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.7217, allocations: 46.67 kB / 1.084 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.944e-05/0.7217, allocations: 32.38 kB / 1.084 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.291e-05/0.7218, allocations: 40.14 kB / 1.084 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.7218, allocations: 8.406 kB / 1.084 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/0.7218, allocations: 8.281 kB / 1.084 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.7219, allocations: 17.42 kB / 1.084 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.7219, allocations: 47.23 kB / 1.084 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.722, allocations: 93.53 kB / 1.084 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.7221, allocations: 3.938 kB / 1.084 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7221, allocations: 0 / 1.084 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.7221, allocations: 0 / 1.084 GB, free: 0.793 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.0003759/0.7225, allocations: 400.1 kB / 1.085 GB, free: 400 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.7225, allocations: 10.44 kB / 1.085 GB, free: 400 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.7225, allocations: 14.59 kB / 1.085 GB, free: 392 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.7227, allocations: 208.1 kB / 1.085 GB, free: 168 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.7228, allocations: 4.125 kB / 1.085 GB, free: 168 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.7228, allocations: 14.56 kB / 1.085 GB, free: 160 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.723, allocations: 110.2 kB / 1.085 GB, free: 80 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.723, allocations: 0.5938 kB / 1.085 GB, free: 80 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.723, allocations: 5.906 kB / 1.085 GB, free: 76 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.723, allocations: 2.469 kB / 1.085 GB, free: 76 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.622e-05/0.7231, allocations: 43.94 kB / 1.085 GB, free: 60 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006224/0.7237, allocations: 467 kB / 1.085 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.556e-05/0.7238, allocations: 45.34 kB / 1.085 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.405e-05/0.7238, allocations: 29.02 kB / 1.086 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.7239, allocations: 0.6562 kB / 1.086 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.7239, allocations: 35.84 kB / 1.086 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7239, allocations: 0 / 1.086 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001773/0.7241, allocations: 58.72 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.7241, allocations: 81.91 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.7244, allocations: 181.3 kB / 1.086 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.7244, allocations: 26.86 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.256e-05/0.7245, allocations: 108.7 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.028e-05/0.7245, allocations: 9.703 kB / 1.086 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.7245, allocations: 18.23 kB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.7247, allocations: 324.5 kB / 1.086 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.7247, allocations: 11.91 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.699e-05/0.7247, allocations: 20.7 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.464e-05/0.7248, allocations: 26.23 kB / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7248, allocations: 1.188 kB / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.939e-05/0.7249, allocations: 54.06 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.7249, allocations: 5.969 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.7249, allocations: 8.594 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.7249, allocations: 1.188 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.725, allocations: 10.97 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.725, allocations: 0.6562 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.63e-05/0.7251, allocations: 14.06 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.7251, allocations: 1.688 kB / 1.086 GB, free: 14.64 MB / 0.8419 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.159e-05/0.7252, allocations: 114.8 kB / 1.087 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.7252, allocations: 9.328 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.7252, allocations: 17.81 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.7252, allocations: 1.75 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.7253, allocations: 0.7031 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.7253, allocations: 5.094 kB / 1.087 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/0.7257, allocations: 472.2 kB / 1.087 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7257, allocations: 0 / 1.087 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.988e-05/0.7258, allocations: 4.297 kB / 1.087 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.7258, allocations: 1.625 kB / 1.087 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.7258, allocations: 7.938 kB / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.7258, allocations: 1.625 kB / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7258, allocations: 0 / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.794e-05/0.7259, allocations: 86.08 kB / 1.087 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.129e-05/0.726, allocations: 91.55 kB / 1.087 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.726, allocations: 10.55 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.04e-05/0.726, allocations: 4.031 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.726, allocations: 6.312 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.7261, allocations: 1.281 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001176/0.7262, allocations: 138 kB / 1.087 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7262, allocations: 0 / 1.087 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001854/0.7264, allocations: 7.156 kB / 1.087 GB, free: 13.72 MB / 0.8419 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.0001245/0.7265, allocations: 98.61 kB / 1.088 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.041e-05/0.7266, allocations: 23.47 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7266, allocations: 0 / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.287e-05/0.7266, allocations: 5.734 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.7268, allocations: 7.312 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.7272, allocations: 219.8 kB / 1.088 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.7275, allocations: 0.6973 MB / 1.088 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.7276, allocations: 12.41 kB / 1.088 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.7276, allocations: 0 / 1.088 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of Templates: time 0.002763/0.7303, allocations: 0.9917 MB / 1.089 GB, free: 12.62 MB / 0.8419 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=400 -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/jenkins1/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