Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 119.6 kB / 17.16 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 211 kB / 20.13 MB, free: 2.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.556/1.556, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.069/3.069, allocations: 0.49 GB / 0.7923 GB, free: 1.312 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 71.89 kB / 1.15 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.959/0.9611, allocations: 176.1 MB / 1.321 GB, free: 7.621 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002655/0.9638, allocations: 0.832 MB / 1.322 GB, free: 6.984 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000128/0.9639, allocations: 41.75 kB / 1.322 GB, free: 6.949 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.71e-05/0.964, allocations: 1.062 kB / 1.322 GB, free: 6.949 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.677e-05/0.964, allocations: 11.86 kB / 1.322 GB, free: 6.938 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.67e-05/0.9641, allocations: 12.84 kB / 1.322 GB, free: 6.926 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.677e-05/0.9641, allocations: 19.36 kB / 1.322 GB, free: 6.91 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.9643, allocations: 63.31 kB / 1.322 GB, free: 6.871 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.9644, allocations: 34.19 kB / 1.322 GB, free: 6.848 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.997e-05/0.9645, allocations: 25.47 kB / 1.322 GB, free: 6.832 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.588e-05/0.9646, allocations: 27.91 kB / 1.323 GB, free: 6.809 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.9646, allocations: 7.062 kB / 1.323 GB, free: 6.809 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/0.9646, allocations: 5.656 kB / 1.323 GB, free: 6.809 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.215e-05/0.9647, allocations: 14.17 kB / 1.323 GB, free: 6.797 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.4e-05/0.9647, allocations: 38.58 kB / 1.323 GB, free: 6.766 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.9649, allocations: 75.98 kB / 1.323 GB, free: 6.707 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.9649, allocations: 7.938 kB / 1.323 GB, free: 6.699 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9649, allocations: 0 / 1.323 GB, free: 6.699 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.9649, allocations: 1.031 kB / 1.323 GB, free: 6.699 MB / 1.014 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.00057/0.9654, allocations: 382.1 kB / 1.323 GB, free: 6.297 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.9655, allocations: 13.08 kB / 1.323 GB, free: 6.293 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.962e-05/0.9655, allocations: 2.531 kB / 1.323 GB, free: 6.293 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/0.9656, allocations: 37.28 kB / 1.323 GB, free: 6.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.9656, allocations: 10.48 kB / 1.323 GB, free: 6.246 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.9658, allocations: 206 kB / 1.323 GB, free: 6.016 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.9659, allocations: 6.812 kB / 1.323 GB, free: 6.012 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.9659, allocations: 9.812 kB / 1.323 GB, free: 6.008 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.9661, allocations: 93.36 kB / 1.323 GB, free: 5.93 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.9661, allocations: 0 / 1.323 GB, free: 5.93 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.9661, allocations: 5.125 kB / 1.323 GB, free: 5.926 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.9661, allocations: 1.812 kB / 1.323 GB, free: 5.926 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.992e-05/0.9662, allocations: 40.28 kB / 1.323 GB, free: 5.906 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006145/0.9668, allocations: 440.5 kB / 1.324 GB, free: 5.465 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.489e-05/0.9669, allocations: 40.66 kB / 1.324 GB, free: 5.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.588e-05/0.9669, allocations: 19.41 kB / 1.324 GB, free: 5.391 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.9669, allocations: 4 kB / 1.324 GB, free: 5.387 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.967, allocations: 35.66 kB / 1.324 GB, free: 5.344 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.967, allocations: 1.188 kB / 1.324 GB, free: 5.344 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001865/0.9671, allocations: 58.47 kB / 1.324 GB, free: 5.293 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.9672, allocations: 78.02 kB / 1.324 GB, free: 5.199 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.9674, allocations: 166.4 kB / 1.324 GB, free: 5.062 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.9674, allocations: 25.95 kB / 1.324 GB, free: 5.031 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.9675, allocations: 107.8 kB / 1.324 GB, free: 4.926 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/0.9675, allocations: 5.328 kB / 1.324 GB, free: 4.922 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.9676, allocations: 17.66 kB / 1.324 GB, free: 4.902 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.9677, allocations: 321.1 kB / 1.325 GB, free: 4.582 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/0.9677, allocations: 6.625 kB / 1.325 GB, free: 4.578 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.928e-05/0.9678, allocations: 19.5 kB / 1.325 GB, free: 4.559 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.605e-05/0.9678, allocations: 26.03 kB / 1.325 GB, free: 4.535 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9678, allocations: 0 / 1.325 GB, free: 4.535 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.759e-05/0.9679, allocations: 63.89 kB / 1.325 GB, free: 4.484 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.9679, allocations: 8.5 kB / 1.325 GB, free: 4.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.9679, allocations: 1.125 kB / 1.325 GB, free: 4.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.9679, allocations: 1.125 kB / 1.325 GB, free: 4.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.968, allocations: 5.469 kB / 1.325 GB, free: 4.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.968, allocations: 0 / 1.325 GB, free: 4.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.621e-05/0.968, allocations: 22.62 kB / 1.325 GB, free: 4.461 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.9681, allocations: 1.125 kB / 1.325 GB, free: 4.461 MB / 1.014 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 0.0001009/0.9682, allocations: 113.8 kB / 1.325 GB, free: 4.344 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.9682, allocations: 12.3 kB / 1.325 GB, free: 4.336 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.9682, allocations: 6.062 kB / 1.325 GB, free: 4.328 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.9682, allocations: 5.031 kB / 1.325 GB, free: 4.324 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.9682, allocations: 1 kB / 1.325 GB, free: 4.324 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.9682, allocations: 5.062 kB / 1.325 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.9687, allocations: 477.7 kB / 1.325 GB, free: 3.812 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.9687, allocations: 1.062 kB / 1.325 GB, free: 3.812 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.9687, allocations: 7.281 kB / 1.325 GB, free: 3.809 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.9687, allocations: 0 / 1.325 GB, free: 3.809 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.9687, allocations: 0.9688 kB / 1.325 GB, free: 3.809 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.9687, allocations: 5.234 kB / 1.325 GB, free: 3.805 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9687, allocations: 0 / 1.325 GB, free: 3.805 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.9688, allocations: 91.33 kB / 1.326 GB, free: 3.707 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.9689, allocations: 84.03 kB / 1.326 GB, free: 3.609 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.9689, allocations: 1.156 kB / 1.326 GB, free: 3.609 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.033e-05/0.9689, allocations: 0 / 1.326 GB, free: 3.609 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.9689, allocations: 5.031 kB / 1.326 GB, free: 3.605 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.9689, allocations: 1.219 kB / 1.326 GB, free: 3.605 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001167/0.9691, allocations: 129.7 kB / 1.326 GB, free: 3.504 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9691, allocations: 4.031 kB / 1.326 GB, free: 3.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001908/0.9693, allocations: 7.656 kB / 1.326 GB, free: 3.5 MB / 1.014 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.0004595/0.9697, allocations: 0.6074 MB / 1.326 GB, free: 2.891 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.265e-05/0.9698, allocations: 27.17 kB / 1.326 GB, free: 2.875 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9698, allocations: 0 / 1.326 GB, free: 2.875 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.314e-05/0.9698, allocations: 7.75 kB / 1.326 GB, free: 2.871 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.97, allocations: 8.719 kB / 1.326 GB, free: 2.867 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.9713, allocations: 1.326 MB / 1.328 GB, free: 1.609 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.9716, allocations: 0.6955 MB / 1.328 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.223e-05/0.9717, allocations: 8.422 kB / 1.328 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.9717, allocations: 31.08 kB / 1.328 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.9717, allocations: 0 / 1.328 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.99, allocations: 1.634 MB / 1.33 GB, free: 8 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.452/9.442, allocations: 12.02 kB / 1.33 GB, free: 0 / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.115741814952344]