Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001663/0.001663, allocations: 105.5 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.001873/0.001874, allocations: 190.3 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.497/1.497, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 437.1 MB / 0.711 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 63.44 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3127, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.00225/0.315, allocations: 0.831 MB / 1.019 GB, free: 9.816 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001331/0.3151, allocations: 39.84 kB / 1.019 GB, free: 9.777 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-05/0.3152, allocations: 3.938 kB / 1.019 GB, free: 9.773 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.691e-05/0.3152, allocations: 3.938 kB / 1.019 GB, free: 9.77 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.487e-05/0.3153, allocations: 15.86 kB / 1.019 GB, free: 9.754 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.779e-05/0.3154, allocations: 19.97 kB / 1.019 GB, free: 9.734 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.3155, allocations: 67.7 kB / 1.019 GB, free: 9.668 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.3157, allocations: 47.95 kB / 1.019 GB, free: 9.621 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.02e-05/0.3157, allocations: 23.88 kB / 1.019 GB, free: 9.598 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.898e-05/0.3158, allocations: 31.84 kB / 1.019 GB, free: 9.566 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.3158, allocations: 8 kB / 1.019 GB, free: 9.559 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.902e-05/0.3158, allocations: 8 kB / 1.019 GB, free: 9.551 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.3159, allocations: 7.938 kB / 1.019 GB, free: 9.543 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.3159, allocations: 39.73 kB / 1.019 GB, free: 9.504 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.316, allocations: 68.05 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.716e-06/0.316, allocations: 0 / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.146e-06/0.316, allocations: 4 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.3161, allocations: 3.938 kB / 1.019 GB, free: 9.43 MB / 0.795 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.0004481/0.3165, allocations: 375.2 kB / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3166, allocations: 16.92 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.3166, allocations: 8.844 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.3168, allocations: 188.2 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.3168, allocations: 8.375 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.3169, allocations: 8.375 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.317, allocations: 102.6 kB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.317, allocations: 192 / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3171, allocations: 7.938 kB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.3171, allocations: 11.98 kB / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.754e-05/0.3172, allocations: 35.92 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005607/0.3177, allocations: 436.5 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.571e-05/0.3178, allocations: 41.22 kB / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.934e-05/0.3178, allocations: 25.8 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.553e-06/0.3179, allocations: 0 / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.3179, allocations: 34.56 kB / 1.02 GB, free: 7.973 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.3179, allocations: 3.938 kB / 1.02 GB, free: 7.969 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001751/0.3181, allocations: 53.7 kB / 1.02 GB, free: 7.91 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.3182, allocations: 81.14 kB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.3183, allocations: 160.9 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.3183, allocations: 25.7 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.3184, allocations: 104 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.947e-06/0.3184, allocations: 11.91 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.3185, allocations: 13.72 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3186, allocations: 318.8 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.3187, allocations: 12 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.138e-05/0.3187, allocations: 17.7 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.499e-05/0.3187, allocations: 29.66 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3187, allocations: 4 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.802e-05/0.3188, allocations: 53.59 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.3189, allocations: 4 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.3189, allocations: 8 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3189, allocations: 7.938 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.54e-05/0.319, allocations: 4 kB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.319, allocations: 0 / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.683e-05/0.319, allocations: 15.84 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.319, allocations: 0 / 1.021 GB, free: 6.984 MB / 0.795 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.899e-05/0.3191, allocations: 109.8 kB / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.3192, allocations: 11.91 kB / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.3192, allocations: 19.8 kB / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3192, allocations: 4 kB / 1.021 GB, free: 6.832 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.3192, allocations: 0 / 1.021 GB, free: 6.832 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3192, allocations: 0 / 1.021 GB, free: 6.832 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.3196, allocations: 470.8 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3197, allocations: 0 / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.223e-05/0.3197, allocations: 7.938 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3197, allocations: 0 / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.3197, allocations: 4 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3197, allocations: 4.062 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3197, allocations: 0 / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.232e-05/0.3198, allocations: 81.77 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.715e-05/0.3199, allocations: 93 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.3199, allocations: 0 / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.028e-05/0.3199, allocations: 0 / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.32, allocations: 8.031 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.32, allocations: 0 / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.471e-05/0.3201, allocations: 121.1 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3201, allocations: 0 / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001896/0.3203, allocations: 11.94 kB / 1.022 GB, free: 5.945 MB / 0.795 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.0001158/0.3204, allocations: 99.25 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.001e-05/0.3205, allocations: 23.92 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3205, allocations: 4.125 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.046e-05/0.3205, allocations: 4 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.3207, allocations: 11.94 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.321, allocations: 188.6 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.3213, allocations: 0.6924 MB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.3214, allocations: 11.44 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3214, allocations: 0 / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of Templates: time 0.002346/0.3237, allocations: 0.8576 MB / 1.024 GB, free: 3.984 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches