Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009318/0.0009319, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001153/0.001153, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.493/2.493, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003865, allocations: 8 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9079/0.9083, allocations: 142.4 MB / 0.9544 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001135/0.9095, allocations: 0.5197 MB / 0.9549 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00011/0.9096, allocations: 41.25 kB / 0.955 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.9097, allocations: 1.469 kB / 0.955 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.9097, allocations: 3.938 kB / 0.955 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.529e-05/0.9098, allocations: 9.016 kB / 0.955 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.123e-05/0.9098, allocations: 10.62 kB / 0.955 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.91, allocations: 54.94 kB / 0.9551 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.9101, allocations: 38.17 kB / 0.9551 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.822e-05/0.9102, allocations: 17.5 kB / 0.9551 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.613e-05/0.9103, allocations: 24.2 kB / 0.9551 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.9103, allocations: 1.562 kB / 0.9551 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.229e-05/0.9103, allocations: 1.781 kB / 0.9551 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.9103, allocations: 6.469 kB / 0.9551 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.9104, allocations: 37.02 kB / 0.9552 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.557e-05/0.9105, allocations: 45.92 kB / 0.9552 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.9105, allocations: 5.125 kB / 0.9552 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9105, allocations: 0 / 0.9552 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.9105, allocations: 0 / 0.9552 GB, free: 7.27 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003599/0.9109, allocations: 376 kB / 0.9556 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.9109, allocations: 9.438 kB / 0.9556 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.9109, allocations: 16.36 kB / 0.9556 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.9112, allocations: 193.8 kB / 0.9558 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.9112, allocations: 3.625 kB / 0.9558 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.9112, allocations: 12.5 kB / 0.9558 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.9114, allocations: 88.06 kB / 0.9559 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.9114, allocations: 3.938 kB / 0.9559 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.9114, allocations: 5.344 kB / 0.9559 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.9114, allocations: 2.5 kB / 0.9559 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.856e-05/0.9115, allocations: 39.25 kB / 0.9559 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.912, allocations: 437.4 kB / 0.9564 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.384e-05/0.912, allocations: 36.81 kB / 0.9564 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.9121, allocations: 19.67 kB / 0.9564 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.9121, allocations: 5.438 kB / 0.9564 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.9121, allocations: 39.72 kB / 0.9565 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.9121, allocations: 0 / 0.9565 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001719/0.9123, allocations: 46.05 kB / 0.9565 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.9123, allocations: 82.27 kB / 0.9566 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.9125, allocations: 163.3 kB / 0.9567 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.9125, allocations: 25.95 kB / 0.9568 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.61e-05/0.9125, allocations: 108.3 kB / 0.9569 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.122e-05/0.9126, allocations: 9.406 kB / 0.9569 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/0.9126, allocations: 0 / 0.9569 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.232e-05/0.9126, allocations: 325.8 kB / 0.9572 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.9127, allocations: 6.562 kB / 0.9572 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.921e-05/0.9127, allocations: 18.39 kB / 0.9572 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.536e-05/0.9127, allocations: 8.594 kB / 0.9572 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.9127, allocations: 5.219 kB / 0.9572 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.703e-05/0.9128, allocations: 58.89 kB / 0.9573 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.9128, allocations: 10.06 kB / 0.9573 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.9128, allocations: 1.031 kB / 0.9573 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.9129, allocations: 5.031 kB / 0.9573 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.292e-05/0.9129, allocations: 9.547 kB / 0.9573 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.913, allocations: 1.125 kB / 0.9573 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.684e-05/0.913, allocations: 2.469 kB / 0.9573 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.913, allocations: 1 kB / 0.9573 GB, free: 5.148 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.385e-05/0.9131, allocations: 121.8 kB / 0.9574 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.9131, allocations: 11.89 kB / 0.9574 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.9131, allocations: 10.75 kB / 0.9574 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.9132, allocations: 7.984 kB / 0.9575 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.9132, allocations: 1.375 kB / 0.9575 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.9132, allocations: 3.938 kB / 0.9575 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.9135, allocations: 474.2 kB / 0.9579 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9135, allocations: 1.438 kB / 0.9579 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/0.9135, allocations: 6.781 kB / 0.9579 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.9135, allocations: 1.344 kB / 0.9579 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.9135, allocations: 0 / 0.9579 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.9135, allocations: 1.5 kB / 0.9579 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.9135, allocations: 0 / 0.9579 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.281e-05/0.9136, allocations: 87.09 kB / 0.958 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.9137, allocations: 83.7 kB / 0.9581 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.9137, allocations: 1.406 kB / 0.9581 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.799e-05/0.9137, allocations: 0 / 0.9581 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.9137, allocations: 5.484 kB / 0.9581 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.9137, allocations: 1.375 kB / 0.9581 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.766e-05/0.9139, allocations: 128.3 kB / 0.9582 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9139, allocations: 0 / 0.9582 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000197/0.9141, allocations: 15.14 kB / 0.9582 GB, free: 4.184 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001474/0.9142, allocations: 103.2 kB / 0.9583 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.9143, allocations: 14.66 kB / 0.9583 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9143, allocations: 0 / 0.9583 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-05/0.9144, allocations: 8.406 kB / 0.9584 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.9145, allocations: 6.5 kB / 0.9584 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.915, allocations: 195.5 kB / 0.9585 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.9153, allocations: 0.6912 MB / 0.9592 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.624e-05/0.9154, allocations: 12.73 kB / 0.9592 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.9154, allocations: 10.97 kB / 0.9592 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.9154, allocations: 0 / 0.9592 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of Templates: time 0.003127/0.9186, allocations: 410.8 kB / 0.9596 GB, free: 2.961 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches