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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009582/0.0009582, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005932/0.005932, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.353/1.353, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.656/2.656, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003043, allocations: 11.34 kB / 0.9029 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2568, allocations: 159.6 MB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.0009702/0.2578, allocations: 0.5492 MB / 1.059 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001126/0.2579, allocations: 39.78 kB / 1.059 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.529e-05/0.258, allocations: 0 / 1.059 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.159e-05/0.258, allocations: 7.938 kB / 1.059 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.24e-05/0.2581, allocations: 7.922 kB / 1.059 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.231e-05/0.2581, allocations: 19.98 kB / 1.059 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.852e-05/0.2582, allocations: 55.84 kB / 1.059 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.2584, allocations: 39.97 kB / 1.059 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.793e-05/0.2584, allocations: 19.81 kB / 1.059 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.001e-05/0.2585, allocations: 23.8 kB / 1.06 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.2585, allocations: 4 kB / 1.06 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.723e-06/0.2585, allocations: 0 / 1.06 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.2585, allocations: 11.92 kB / 1.06 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.896e-05/0.2586, allocations: 53.45 kB / 1.06 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.748e-05/0.2587, allocations: 63.97 kB / 1.06 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2587, allocations: 4 kB / 1.06 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2587, allocations: 0 / 1.06 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.2587, allocations: 4 kB / 1.06 GB, free: 3.949 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.0004592/0.2592, allocations: 368.7 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2592, allocations: 15.97 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.866e-05/0.2593, allocations: 34.75 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.2593, allocations: 8.844 kB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.2595, allocations: 196.1 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.2595, allocations: 8.375 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.2595, allocations: 4.375 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.2597, allocations: 97.61 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.2597, allocations: 7.922 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.2597, allocations: 4 kB / 1.06 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.2597, allocations: 0 / 1.06 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.596e-05/0.2598, allocations: 39.92 kB / 1.06 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.2603, allocations: 444.5 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.812e-05/0.2604, allocations: 37.41 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.331e-05/0.2604, allocations: 21.72 kB / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.779e-06/0.2604, allocations: 0 / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.2605, allocations: 34.56 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.2605, allocations: 4 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001654/0.2606, allocations: 57.47 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.2607, allocations: 81.05 kB / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.2608, allocations: 167.6 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.2608, allocations: 25.7 kB / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/0.2609, allocations: 104.2 kB / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.077e-06/0.2609, allocations: 8 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.2609, allocations: 13.72 kB / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.66e-05/0.261, allocations: 318.8 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.562e-05/0.2611, allocations: 4 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.142e-05/0.2611, allocations: 17.72 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.881e-05/0.2611, allocations: 25.72 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2611, allocations: 4 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.328e-05/0.2612, allocations: 65.47 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2612, allocations: 7.938 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2613, allocations: 0 / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.2613, allocations: 4 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.51e-05/0.2613, allocations: 8 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2613, allocations: 0 / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.252e-05/0.2614, allocations: 11.84 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.2614, allocations: 0 / 1.062 GB, free: 1.477 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 7.288e-05/0.2615, allocations: 125.8 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.2615, allocations: 11.84 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.2615, allocations: 11.88 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2616, allocations: 0 / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2616, allocations: 3.938 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.2616, allocations: 0 / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.262, allocations: 470.8 kB / 1.062 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.262, allocations: 0 / 1.062 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.262, allocations: 7.984 kB / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.262, allocations: 0 / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.262, allocations: 8 kB / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.262, allocations: 0 / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.262, allocations: 0 / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.079e-05/0.2621, allocations: 77.91 kB / 1.062 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.2622, allocations: 92.91 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.2622, allocations: 0 / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.014e-05/0.2622, allocations: 3.938 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.2622, allocations: 8 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.2622, allocations: 0 / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.139e-05/0.2623, allocations: 122.1 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2623, allocations: 0 / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000185/0.2625, allocations: 8 kB / 1.063 GB, free: 444 kB / 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.0003277/0.2629, allocations: 0.6132 MB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.831e-05/0.2629, allocations: 19.94 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2629, allocations: 0 / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.165e-05/0.263, allocations: 12.14 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.2631, allocations: 8 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.2642, allocations: 1.343 MB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.2645, allocations: 0.6887 MB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.146e-05/0.2645, allocations: 12.36 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.2646, allocations: 27.42 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.2646, allocations: 0 / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009756/0.2743, allocations: 1.363 MB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.2746, allocations: 215.1 kB / 1.067 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/1.809, allocations: 7.938 kB / 1.067 GB, free: 12.07 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