Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002758/0.002758, allocations: 195 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.598/2.598, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.843/4.843, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002843/0.002843, allocations: 64.23 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5146/0.5175, allocations: 157.4 MB / 1.052 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.004121/0.5217, allocations: 0.9074 MB / 1.053 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000257/0.522, allocations: 35.86 kB / 1.053 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.5222, allocations: 0 / 1.053 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.099e-05/0.5223, allocations: 3.938 kB / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.5224, allocations: 7.922 kB / 1.053 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.915e-05/0.5225, allocations: 15.98 kB / 1.053 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.5227, allocations: 67.78 kB / 1.053 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.5229, allocations: 47.97 kB / 1.053 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.147e-05/0.523, allocations: 19.88 kB / 1.053 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.234e-05/0.5232, allocations: 31.84 kB / 1.054 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.5232, allocations: 4 kB / 1.054 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.053e-05/0.5232, allocations: 8 kB / 1.054 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.049e-05/0.5233, allocations: 11.94 kB / 1.054 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.684e-05/0.5234, allocations: 47.72 kB / 1.054 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.5235, allocations: 67.94 kB / 1.054 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.5236, allocations: 0 / 1.054 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.258e-06/0.5236, allocations: 4 kB / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.5236, allocations: 0 / 1.054 GB, free: 7.363 MB / 0.8106 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.0006837/0.5243, allocations: 371.3 kB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.5244, allocations: 12.62 kB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.116e-05/0.5244, allocations: 34.75 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.5245, allocations: 16.83 kB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.5248, allocations: 192.2 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.5248, allocations: 8.281 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.5249, allocations: 12.31 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.5251, allocations: 91.89 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.5251, allocations: 3.938 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.5252, allocations: 4 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.5252, allocations: 0 / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.5253, allocations: 43.91 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008958/0.5262, allocations: 444.6 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.279e-05/0.5263, allocations: 41.25 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.517e-05/0.5264, allocations: 21.72 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.5264, allocations: 0 / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.5265, allocations: 30.56 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.5265, allocations: 0 / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002791/0.5268, allocations: 65.47 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.5268, allocations: 77.11 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.5271, allocations: 165.1 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.5271, allocations: 29.7 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.258e-05/0.5272, allocations: 100 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.079e-05/0.5273, allocations: 3.906 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.5273, allocations: 17.72 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.5275, allocations: 322.8 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.045e-05/0.5275, allocations: 4 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.665e-05/0.5276, allocations: 25.72 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.082e-05/0.5277, allocations: 29.64 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5277, allocations: 0 / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001688/0.5279, allocations: 61.55 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.528, allocations: 9.812 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.528, allocations: 0 / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.528, allocations: 0 / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.5281, allocations: 12.05 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.5281, allocations: 4 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.781e-05/0.5282, allocations: 7.844 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.5282, allocations: 4 kB / 1.056 GB, free: 4.875 MB / 0.8106 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.0001355/0.5284, allocations: 113.8 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.965e-05/0.5285, allocations: 11.84 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.5285, allocations: 7.875 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.5286, allocations: 7.938 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.5286, allocations: 4.078 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.5286, allocations: 7.984 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006562/0.5293, allocations: 466.8 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.5293, allocations: 0 / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.5293, allocations: 4 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.5293, allocations: 0 / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.5294, allocations: 0 / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5294, allocations: 0 / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.5294, allocations: 7.938 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.5295, allocations: 85.89 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.332e-05/0.5297, allocations: 85.02 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.5297, allocations: 0 / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.059e-05/0.5297, allocations: 0 / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.5298, allocations: 7.922 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.5298, allocations: 4 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001989/0.53, allocations: 127.3 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of sort global known variables: time 6.11e-07/0.53, allocations: 0 / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003866/0.5304, allocations: 4 kB / 1.057 GB, free: 3.836 MB / 0.8106 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.0007396/0.5312, allocations: 0.621 MB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001887/0.5314, allocations: 16 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5314, allocations: 3.938 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.446e-05/0.5315, allocations: 4 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.5318, allocations: 8.859 kB / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.5342, allocations: 1.339 MB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/0.5347, allocations: 0.6963 MB / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.297e-05/0.5348, allocations: 8.438 kB / 1.059 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/0.5349, allocations: 27.42 kB / 1.059 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of SimCode: time 1.182e-06/0.5349, allocations: 0 / 1.059 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.5642, allocations: 1.477 MB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000419/0.5647, allocations: 217.8 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/3.038, allocations: 0 / 1.061 GB, free: 15.36 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches