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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004833/0.004833, allocations: 96.92 kB / 15.73 MB, free: 6.055 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.001358/0.001358, allocations: 198.8 kB / 16.68 MB, free: 5.977 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.671/2.671, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 63.89 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.264, allocations: 162.3 MB / 1.242 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001779/0.2658, allocations: 0.8293 MB / 1.243 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 9.949e-05/0.266, allocations: 39.84 kB / 1.243 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.246e-05/0.266, allocations: 4 kB / 1.243 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.692e-05/0.2661, allocations: 11.86 kB / 1.243 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.44e-05/0.2661, allocations: 7.875 kB / 1.243 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.995e-05/0.2662, allocations: 19.98 kB / 1.243 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.2663, allocations: 63.78 kB / 1.243 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.2664, allocations: 47.95 kB / 1.243 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.048e-05/0.2665, allocations: 19.88 kB / 1.243 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.623e-05/0.2665, allocations: 27.84 kB / 1.243 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.2665, allocations: 8 kB / 1.243 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.2665, allocations: 4 kB / 1.243 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.2666, allocations: 19.92 kB / 1.243 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.2666, allocations: 39.73 kB / 1.243 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.2667, allocations: 71.59 kB / 1.243 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2667, allocations: 0 / 1.243 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2667, allocations: 0 / 1.243 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2668, allocations: 4 kB / 1.243 GB, free: 8.578 MB / 0.9981 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.0003976/0.2672, allocations: 383.1 kB / 1.243 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.2672, allocations: 12.03 kB / 1.243 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.643e-05/0.2672, allocations: 34.75 kB / 1.243 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.274e-05/0.2673, allocations: 8.891 kB / 1.243 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.2675, allocations: 200.2 kB / 1.244 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.2675, allocations: 8.375 kB / 1.244 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.2675, allocations: 4.375 kB / 1.244 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.2676, allocations: 93.36 kB / 1.244 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2677, allocations: 3.938 kB / 1.244 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.2677, allocations: 4 kB / 1.244 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.2677, allocations: 0 / 1.244 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.362e-05/0.2678, allocations: 39.92 kB / 1.244 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.2682, allocations: 440.6 kB / 1.244 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.204e-05/0.2683, allocations: 41.28 kB / 1.244 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.49e-05/0.2683, allocations: 21.84 kB / 1.244 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.51e-06/0.2684, allocations: 0 / 1.244 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.2684, allocations: 30.56 kB / 1.244 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.2684, allocations: 4 kB / 1.244 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001504/0.2685, allocations: 57.52 kB / 1.244 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.2686, allocations: 85.05 kB / 1.244 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.2687, allocations: 164.4 kB / 1.245 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.2688, allocations: 25.7 kB / 1.245 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.2688, allocations: 100.1 kB / 1.245 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.235e-05/0.2689, allocations: 7.953 kB / 1.245 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.2689, allocations: 21.91 kB / 1.245 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.269, allocations: 322.8 kB / 1.245 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.269, allocations: 8 kB / 1.245 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.298e-05/0.2691, allocations: 21.7 kB / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.264e-05/0.2691, allocations: 25.72 kB / 1.245 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2691, allocations: 0 / 1.245 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.789e-05/0.2692, allocations: 61.58 kB / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2692, allocations: 11.94 kB / 1.245 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2692, allocations: 0 / 1.245 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.2692, allocations: 0 / 1.245 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.932e-05/0.2693, allocations: 4 kB / 1.245 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.2693, allocations: 7.984 kB / 1.245 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.925e-05/0.2693, allocations: 7.891 kB / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.2693, allocations: 4 kB / 1.245 GB, free: 6.09 MB / 0.9981 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.261e-05/0.2694, allocations: 117.9 kB / 1.245 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.2695, allocations: 11.89 kB / 1.245 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.2695, allocations: 11.88 kB / 1.245 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2695, allocations: 0 / 1.245 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.2695, allocations: 3.938 kB / 1.245 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.2695, allocations: 4 kB / 1.245 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/0.2699, allocations: 478.8 kB / 1.246 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2699, allocations: 4.062 kB / 1.246 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.614e-05/0.2699, allocations: 3.938 kB / 1.246 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.27, allocations: 4 kB / 1.246 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.27, allocations: 0 / 1.246 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.27, allocations: 0 / 1.246 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.27, allocations: 0 / 1.246 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.983e-05/0.2701, allocations: 77.88 kB / 1.246 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.2701, allocations: 93.09 kB / 1.246 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.2701, allocations: 0 / 1.246 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.873e-05/0.2702, allocations: 4 kB / 1.246 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-06/0.2702, allocations: 0 / 1.246 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.2702, allocations: 0 / 1.246 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.502e-05/0.2703, allocations: 125.6 kB / 1.246 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2703, allocations: 0 / 1.246 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001781/0.2705, allocations: 8 kB / 1.246 GB, free: 5.047 MB / 0.9981 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.0003655/0.2708, allocations: 0.6254 MB / 1.247 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.232e-05/0.2709, allocations: 19.92 kB / 1.247 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2709, allocations: 0 / 1.247 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.948e-06/0.2709, allocations: 4.219 kB / 1.247 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.2711, allocations: 13.62 kB / 1.247 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.2722, allocations: 1.335 MB / 1.248 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.2725, allocations: 0.6924 MB / 1.249 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.805e-05/0.2725, allocations: 12.42 kB / 1.249 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.2725, allocations: 27.42 kB / 1.249 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.2726, allocations: 0 / 1.249 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.785/1.058, allocations: 1.571 MB / 1.25 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.289/10.35, allocations: 12.16 kB / 1.25 GB, free: 0.6914 MB / 0.9981 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=400 --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