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.001013/0.001013, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.00104/0.00104, allocations: 177.3 kB / 15.94 MB, free: 228 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.51/1.51, allocations: 223.2 MB / 239.9 MB, free: 5.434 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.377/2.377, allocations: 390.3 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003791, allocations: 12 kB / 0.8145 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.913/0.9134, allocations: 142.3 MB / 0.9535 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.00118/0.9147, allocations: 0.5177 MB / 0.954 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001184/0.9148, allocations: 38.36 kB / 0.9541 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.9149, allocations: 5.219 kB / 0.9541 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.9149, allocations: 3.938 kB / 0.9541 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.727e-05/0.915, allocations: 13.47 kB / 0.9541 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.253e-05/0.915, allocations: 11.75 kB / 0.9541 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.748e-05/0.9151, allocations: 43.92 kB / 0.9541 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.9153, allocations: 22.58 kB / 0.9541 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.97e-05/0.9153, allocations: 21.05 kB / 0.9542 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.77e-05/0.9154, allocations: 24.05 kB / 0.9542 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.9154, allocations: 2.188 kB / 0.9542 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.9155, allocations: 0.875 kB / 0.9542 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.9155, allocations: 6.734 kB / 0.9542 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.9155, allocations: 37.7 kB / 0.9542 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.992e-05/0.9156, allocations: 54.66 kB / 0.9543 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.9156, allocations: 0 / 0.9543 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.985e-06/0.9156, allocations: 0 / 0.9543 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.9156, allocations: 0 / 0.9543 GB, free: 7.5 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.0004038/0.916, allocations: 367.8 kB / 0.9546 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.9161, allocations: 8.969 kB / 0.9546 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.9161, allocations: 16.42 kB / 0.9547 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.9163, allocations: 189.5 kB / 0.9548 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.9164, allocations: 7.438 kB / 0.9549 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.9164, allocations: 4.812 kB / 0.9549 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.9166, allocations: 88.77 kB / 0.9549 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.9166, allocations: 7.938 kB / 0.9549 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.9166, allocations: 9.312 kB / 0.955 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.9166, allocations: 6.406 kB / 0.955 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.369e-05/0.9167, allocations: 35.03 kB / 0.955 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.9172, allocations: 437.6 kB / 0.9554 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.163e-05/0.9173, allocations: 41.69 kB / 0.9555 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.9173, allocations: 0 / 0.9555 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.9173, allocations: 31.75 kB / 0.9555 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.9173, allocations: 0 / 0.9555 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001782/0.9175, allocations: 55.17 kB / 0.9555 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.9176, allocations: 86.31 kB / 0.9556 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.9177, allocations: 154.2 kB / 0.9558 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.9178, allocations: 38.84 kB / 0.9558 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.9178, allocations: 107.8 kB / 0.9559 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.158e-05/0.9178, allocations: 13.08 kB / 0.9559 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.9178, allocations: 0 / 0.9559 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.462e-05/0.9179, allocations: 321.4 kB / 0.9562 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.9179, allocations: 6.906 kB / 0.9562 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.131e-05/0.9179, allocations: 23.39 kB / 0.9563 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.441e-05/0.918, allocations: 7.906 kB / 0.9563 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.918, allocations: 0 / 0.9563 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.026e-05/0.9181, allocations: 59.17 kB / 0.9563 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.9181, allocations: 9.453 kB / 0.9563 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.9181, allocations: 0 / 0.9563 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.9181, allocations: 1.344 kB / 0.9563 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.408e-05/0.9182, allocations: 9.688 kB / 0.9563 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.9182, allocations: 1.062 kB / 0.9563 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.757e-05/0.9182, allocations: 2.406 kB / 0.9563 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.9182, allocations: 1.125 kB / 0.9563 GB, free: 5.402 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 5.973e-05/0.9183, allocations: 117.4 kB / 0.9565 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.9183, allocations: 7.375 kB / 0.9565 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.9184, allocations: 11.7 kB / 0.9565 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.9184, allocations: 0 / 0.9565 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.9184, allocations: 1.438 kB / 0.9565 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.9184, allocations: 4 kB / 0.9565 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.9187, allocations: 474.9 kB / 0.9569 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.9187, allocations: 0 / 0.9569 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.824e-05/0.9187, allocations: 3.906 kB / 0.9569 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.9187, allocations: 0 / 0.9569 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.9187, allocations: 1.375 kB / 0.9569 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.9187, allocations: 3.938 kB / 0.9569 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9187, allocations: 5.312 kB / 0.9569 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.767e-05/0.9188, allocations: 95.59 kB / 0.957 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.9189, allocations: 88.56 kB / 0.9571 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.9189, allocations: 1.5 kB / 0.9571 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.931e-05/0.9189, allocations: 0 / 0.9571 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.9189, allocations: 13.38 kB / 0.9571 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.9189, allocations: 5.281 kB / 0.9571 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.94e-05/0.919, allocations: 124.6 kB / 0.9573 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.919, allocations: 0 / 0.9573 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001792/0.9192, allocations: 12.62 kB / 0.9573 GB, free: 4.426 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.0001156/0.9193, allocations: 95.69 kB / 0.9574 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.559e-05/0.9194, allocations: 17.88 kB / 0.9574 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.9194, allocations: 128 / 0.9574 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.039e-05/0.9194, allocations: 7.875 kB / 0.9574 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001117/0.9195, allocations: 12.33 kB / 0.9574 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.9199, allocations: 192 kB / 0.9576 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.92, allocations: 0.6951 MB / 0.9583 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.254e-05/0.9201, allocations: 5.25 kB / 0.9583 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.9201, allocations: 11.03 kB / 0.9583 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.9201, allocations: 0 / 0.9583 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of Templates: time 0.002345/0.9224, allocations: 420.7 kB / 0.9587 GB, free: 3.199 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","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches