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.008497/0.008498, allocations: 103.9 kB / 15.73 MB, free: 6.035 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.00197/0.00197, allocations: 196 kB / 16.67 MB, free: 5.969 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.777/2.777, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 63.91 kB / 1.054 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3216, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002101/0.3237, allocations: 0.8307 MB / 1.208 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001474/0.3239, allocations: 43.84 kB / 1.208 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.3239, allocations: 0 / 1.208 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.144e-05/0.324, allocations: 7.875 kB / 1.208 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.79e-05/0.3241, allocations: 11.88 kB / 1.208 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.264e-05/0.3242, allocations: 19.97 kB / 1.208 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.3243, allocations: 67.78 kB / 1.208 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.3245, allocations: 39.92 kB / 1.208 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.149e-05/0.3246, allocations: 31.86 kB / 1.208 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.139e-05/0.3246, allocations: 27.84 kB / 1.208 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.3247, allocations: 8 kB / 1.208 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.3247, allocations: 8 kB / 1.208 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.459e-05/0.3247, allocations: 19.86 kB / 1.208 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.741e-05/0.3248, allocations: 27.81 kB / 1.208 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.3249, allocations: 79.86 kB / 1.208 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3249, allocations: 3.938 kB / 1.208 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3249, allocations: 4 kB / 1.208 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.3249, allocations: 0 / 1.208 GB, free: 8.965 MB / 0.9669 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.0005118/0.3254, allocations: 376.2 kB / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.3255, allocations: 12.62 kB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.193e-05/0.3255, allocations: 38.73 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.3256, allocations: 12.84 kB / 1.209 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.3258, allocations: 196.1 kB / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.3258, allocations: 4.375 kB / 1.209 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.3259, allocations: 8.375 kB / 1.209 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.326, allocations: 97.66 kB / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.326, allocations: 3.938 kB / 1.209 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3261, allocations: 4 kB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.3261, allocations: 0 / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.884e-05/0.3262, allocations: 39.92 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.3267, allocations: 428.5 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.708e-05/0.3267, allocations: 45.28 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.3268, allocations: 21.83 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.124e-06/0.3268, allocations: 0 / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.3268, allocations: 30.56 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3268, allocations: 0 / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001688/0.327, allocations: 65.48 kB / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.327, allocations: 77.11 kB / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.3272, allocations: 158.2 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.3272, allocations: 29.7 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.3273, allocations: 103.9 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.3273, allocations: 0 / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.3273, allocations: 29.55 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.3274, allocations: 323.1 kB / 1.21 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.3275, allocations: 4 kB / 1.21 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/0.3275, allocations: 21.7 kB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.801e-05/0.3275, allocations: 21.72 kB / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3275, allocations: 3.938 kB / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.257e-05/0.3276, allocations: 61.53 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3276, allocations: 16 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3277, allocations: 0 / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3277, allocations: 0 / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.05e-05/0.3277, allocations: 15.94 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.3277, allocations: 0 / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.726e-05/0.3278, allocations: 3.938 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.3278, allocations: 4 kB / 1.211 GB, free: 6.484 MB / 0.9669 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 7.572e-05/0.3279, allocations: 113.8 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.3279, allocations: 11.84 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.3279, allocations: 15.86 kB / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.328, allocations: 7.938 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.328, allocations: 0 / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.328, allocations: 0 / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.3283, allocations: 470.7 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3283, allocations: 3.938 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.995e-05/0.3284, allocations: 4.094 kB / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3284, allocations: 8.047 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-06/0.3284, allocations: 0 / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3284, allocations: 0 / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3284, allocations: 4 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.275e-05/0.3285, allocations: 81.83 kB / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/0.3285, allocations: 85 kB / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.3286, allocations: 4 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.919e-05/0.3286, allocations: 4.031 kB / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/0.3286, allocations: 0 / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.3286, allocations: 7.938 kB / 1.211 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.28e-05/0.3287, allocations: 121.7 kB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.11e-07/0.3287, allocations: 0 / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001834/0.3289, allocations: 8 kB / 1.212 GB, free: 5.441 MB / 0.9669 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.0003843/0.3293, allocations: 0.6171 MB / 1.212 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.551e-05/0.3294, allocations: 19.94 kB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3294, allocations: 0 / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.949e-06/0.3294, allocations: 4 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.3296, allocations: 8 kB / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.3307, allocations: 1.335 MB / 1.213 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.3309, allocations: 0.6967 MB / 1.214 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.255e-05/0.331, allocations: 8.438 kB / 1.214 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.331, allocations: 27.36 kB / 1.214 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.331, allocations: 0 / 1.214 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/0.3484, allocations: 1.598 MB / 1.216 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.299/7.648, allocations: 12.05 kB / 1.216 GB, free: 1.074 MB / 0.9669 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