Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.001194/0.001194, allocations: 108 kB / 15.61 MB, free: 152 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.001204/0.001204, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.474/1.474, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 472.6 MB / 0.7451 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.28 kB / 0.9121 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.42, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002336/0.4224, allocations: 0.8742 MB / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001505/0.4225, allocations: 55.77 kB / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.324e-05/0.4226, allocations: 0 / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.282e-05/0.4227, allocations: 15.81 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.968e-05/0.4227, allocations: 11.88 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.951e-05/0.4228, allocations: 23.97 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.423, allocations: 83.77 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.4231, allocations: 57.02 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.785e-05/0.4232, allocations: 27.88 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.398e-05/0.4233, allocations: 35.78 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.4233, allocations: 8 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.473e-05/0.4233, allocations: 8 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.4234, allocations: 19.92 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.4234, allocations: 43.73 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.4236, allocations: 103.8 kB / 1.07 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4236, allocations: 4 kB / 1.07 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4236, allocations: 0 / 1.07 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.4236, allocations: 0 / 1.07 GB, free: 9.062 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.0005373/0.4241, allocations: 396.7 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.4242, allocations: 8.031 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.4242, allocations: 12.75 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.4245, allocations: 200.4 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.4245, allocations: 8.562 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.4245, allocations: 8.375 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.4247, allocations: 116.9 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4247, allocations: 3.984 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.4247, allocations: 4 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.4248, allocations: 4 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.064e-05/0.4249, allocations: 43.97 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006247/0.4255, allocations: 476.1 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.426e-05/0.4255, allocations: 37.22 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.896e-05/0.4256, allocations: 17.78 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.4256, allocations: 3.938 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.4256, allocations: 38.56 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.4256, allocations: 0 / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001898/0.4258, allocations: 53.53 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.4259, allocations: 81.11 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.4261, allocations: 179.2 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.4261, allocations: 25.7 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.794e-05/0.4262, allocations: 112.3 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.077e-06/0.4262, allocations: 7.906 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.4263, allocations: 21.62 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4264, allocations: 326.8 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/0.4265, allocations: 4 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.489e-05/0.4265, allocations: 21.7 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.422e-05/0.4265, allocations: 33.66 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4265, allocations: 0 / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.207e-05/0.4266, allocations: 53.61 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.4266, allocations: 4 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4267, allocations: 3.984 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4267, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-05/0.4267, allocations: 11.94 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.4268, allocations: 0 / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.53e-05/0.4268, allocations: 11.78 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.4268, allocations: 4 kB / 1.072 GB, free: 6.516 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 8.773e-05/0.4269, allocations: 117.9 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.427, allocations: 11.91 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.427, allocations: 12.55 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.427, allocations: 0 / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.427, allocations: 4 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.427, allocations: 4.156 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004545/0.4275, allocations: 478.8 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4275, allocations: 7.938 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.897e-05/0.4275, allocations: 4 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4275, allocations: 0 / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.4275, allocations: 7.938 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.4276, allocations: 3.938 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4276, allocations: 0 / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.814e-05/0.4277, allocations: 85.8 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/0.4277, allocations: 89.02 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.4277, allocations: 7.938 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.165e-05/0.4278, allocations: 3.984 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.4278, allocations: 0 / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.4278, allocations: 0 / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001103/0.4279, allocations: 132.3 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4279, allocations: 0 / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001872/0.4281, allocations: 11.94 kB / 1.073 GB, free: 5.441 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.0002055/0.4283, allocations: 107.3 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.4284, allocations: 15.94 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.4284, allocations: 0 / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.166e-05/0.4285, allocations: 8 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.4286, allocations: 8 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/0.429, allocations: 194.9 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.4293, allocations: 0.7002 MB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.4293, allocations: 12.55 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.4294, allocations: 11.44 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4294, allocations: 0 / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.003001/0.4324, allocations: 0.5044 MB / 1.074 GB, free: 3.816 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches