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.001525/0.001525, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 191.7 kB / 16.53 MB, free: 6.391 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.614/2.614, allocations: 461.9 MB / 0.7347 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 66.72 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2508, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002056/0.2529, allocations: 0.8271 MB / 1.054 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001175/0.253, allocations: 43.78 kB / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.309e-05/0.2531, allocations: 4 kB / 1.054 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.512e-05/0.2531, allocations: 15.86 kB / 1.054 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.15e-05/0.2532, allocations: 7.875 kB / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.394e-05/0.2533, allocations: 19.98 kB / 1.054 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.105e-05/0.2534, allocations: 59.84 kB / 1.054 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.2535, allocations: 51.95 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.619e-05/0.2536, allocations: 27.86 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.093e-05/0.2536, allocations: 27.8 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.2536, allocations: 8 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.569e-05/0.2537, allocations: 4 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.2537, allocations: 19.92 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.2537, allocations: 31.75 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.642e-05/0.2538, allocations: 71.97 kB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2538, allocations: 0 / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2538, allocations: 0 / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2538, allocations: 4 kB / 1.054 GB, free: 7.039 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.0003952/0.2542, allocations: 371.3 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.2543, allocations: 8.625 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.305e-05/0.2543, allocations: 46.73 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/0.2544, allocations: 8.844 kB / 1.055 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.2546, allocations: 192.2 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.2546, allocations: 8.219 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.2546, allocations: 12.38 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.2548, allocations: 97.03 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2548, allocations: 3.938 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2548, allocations: 0 / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2548, allocations: 7.938 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.57e-05/0.2549, allocations: 39.92 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005082/0.2554, allocations: 440.5 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.121e-05/0.2555, allocations: 41.34 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.2555, allocations: 17.77 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-06/0.2555, allocations: 0 / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.2555, allocations: 42.56 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.2556, allocations: 0 / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001698/0.2557, allocations: 53.48 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.2558, allocations: 77.11 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.2559, allocations: 162.2 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.2559, allocations: 25.7 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.256, allocations: 100.3 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.887e-06/0.256, allocations: 11.91 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.256, allocations: 21.66 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.922e-05/0.2562, allocations: 318.8 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.2562, allocations: 4 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.31e-05/0.2562, allocations: 21.7 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.825e-05/0.2562, allocations: 25.72 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2563, allocations: 4 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.373e-05/0.2563, allocations: 57.55 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2564, allocations: 11.92 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2564, allocations: 0 / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2564, allocations: 4 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.521e-05/0.2565, allocations: 8 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.2565, allocations: 3.984 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.851e-05/0.2565, allocations: 11.84 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.2565, allocations: 0 / 1.056 GB, free: 4.555 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.208e-05/0.2566, allocations: 117.9 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.2567, allocations: 11.84 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.002e-05/0.2567, allocations: 15.86 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.2567, allocations: 3.938 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2567, allocations: 0 / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.2567, allocations: 0 / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.2571, allocations: 466.8 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2571, allocations: 11.81 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.588e-05/0.2571, allocations: 8 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2571, allocations: 0 / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2572, allocations: 4 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2572, allocations: 0 / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2572, allocations: 0 / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.139e-05/0.2572, allocations: 81.89 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.2573, allocations: 89 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.2573, allocations: 0 / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.247e-05/0.2573, allocations: 4 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.2574, allocations: 4 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.2574, allocations: 3.938 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.096e-05/0.2575, allocations: 122.1 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2575, allocations: 0 / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001921/0.2577, allocations: 8 kB / 1.057 GB, free: 3.512 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.0003108/0.258, allocations: 0.6132 MB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.009e-05/0.2581, allocations: 19.94 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.2581, allocations: 4.156 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.858e-06/0.2581, allocations: 4 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.2583, allocations: 10.34 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.2593, allocations: 1.327 MB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.2595, allocations: 0.6885 MB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.969e-05/0.2596, allocations: 8.422 kB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.2596, allocations: 23.44 kB / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.2596, allocations: 4 kB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.2755, allocations: 1.545 MB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.79/7.065, allocations: 15.47 kB / 1.061 GB, free: 15.2 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