Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_10_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.007907/0.007907, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.00192/0.00192, allocations: 190.7 kB / 16.67 MB, free: 5.953 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.485/2.485, allocations: 437 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 60.12 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9194/0.9209, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002021/0.923, allocations: 0.8411 MB / 1.167 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001387/0.9231, allocations: 43.78 kB / 1.167 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.13e-05/0.9232, allocations: 0 / 1.167 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.425e-05/0.9233, allocations: 7.875 kB / 1.167 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.369e-05/0.9233, allocations: 7.922 kB / 1.167 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.813e-05/0.9234, allocations: 19.98 kB / 1.167 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.9235, allocations: 63.78 kB / 1.167 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.9237, allocations: 43.98 kB / 1.167 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.614e-05/0.9237, allocations: 23.91 kB / 1.167 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.9238, allocations: 31.73 kB / 1.167 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.9238, allocations: 8 kB / 1.167 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.9239, allocations: 4 kB / 1.167 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/0.9239, allocations: 23.92 kB / 1.167 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/0.9239, allocations: 35.8 kB / 1.167 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.9241, allocations: 77.89 kB / 1.167 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.9241, allocations: 0 / 1.167 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9241, allocations: 0 / 1.167 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.9241, allocations: 4 kB / 1.167 GB, free: 2.512 MB / 0.8887 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.0004375/0.9245, allocations: 379.1 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.9246, allocations: 12.62 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.745e-05/0.9246, allocations: 34.75 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.9247, allocations: 20.78 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.9249, allocations: 192.1 kB / 1.168 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.9249, allocations: 8.375 kB / 1.168 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.925, allocations: 4.375 kB / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.9251, allocations: 94.39 kB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.9251, allocations: 3.938 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.9251, allocations: 0 / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.9252, allocations: 0 / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.039e-05/0.9252, allocations: 39.92 kB / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.9258, allocations: 432.5 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.504e-05/0.9258, allocations: 49.27 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.899e-05/0.9259, allocations: 25.84 kB / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-06/0.9259, allocations: 0 / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.9259, allocations: 30.56 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.9259, allocations: 0 / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001765/0.9261, allocations: 61.47 kB / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.9261, allocations: 77.11 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.9263, allocations: 164.7 kB / 1.169 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.9263, allocations: 29.7 kB / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.9264, allocations: 99.98 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.9264, allocations: 15.88 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.9264, allocations: 13.72 kB / 1.169 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.9265, allocations: 318.8 kB / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.9266, allocations: 11.98 kB / 1.169 GB, free: 192 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.9266, allocations: 13.72 kB / 1.169 GB, free: 172 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.833e-05/0.9266, allocations: 29.72 kB / 1.169 GB, free: 136 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.9266, allocations: 0 / 1.169 GB, free: 136 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.317e-05/0.9267, allocations: 61.53 kB / 1.169 GB, free: 68 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.9267, allocations: 15.88 kB / 1.169 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.9268, allocations: 0 / 1.169 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.9268, allocations: 0 / 1.169 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.401e-05/0.9268, allocations: 8 kB / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.9269, allocations: 8 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.944e-05/0.9269, allocations: 3.906 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.9269, allocations: 4 kB / 1.17 GB, free: 28 kB / 0.8887 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 9.249e-05/0.927, allocations: 121.8 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.927, allocations: 11.84 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.9271, allocations: 7.875 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.9271, allocations: 0 / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.9271, allocations: 4 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.9271, allocations: 0 / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003541/0.9275, allocations: 474.8 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.9275, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.07e-05/0.9275, allocations: 4 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.9275, allocations: 3.984 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.9275, allocations: 0 / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.9275, allocations: 0 / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.9275, allocations: 0 / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.576e-05/0.9276, allocations: 82 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.9277, allocations: 96.92 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.9277, allocations: 4 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.122e-05/0.9277, allocations: 0 / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.9277, allocations: 3.938 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.9277, allocations: 0 / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.246e-05/0.9278, allocations: 125.5 kB / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9278, allocations: 0 / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001858/0.928, allocations: 11.91 kB / 1.17 GB, free: 14.98 MB / 0.9044 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.0003424/0.9284, allocations: 0.6132 MB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.459e-05/0.9285, allocations: 23.97 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9285, allocations: 0 / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.256e-05/0.9285, allocations: 7.984 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.9287, allocations: 4 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.9298, allocations: 1.336 MB / 1.172 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.9301, allocations: 0.6924 MB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.704e-05/0.9301, allocations: 8.422 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.9302, allocations: 27.38 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of SimCode: time 2.735e-06/0.9302, allocations: 0 / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.9498, allocations: 1.579 MB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.466/8.416, allocations: 7.953 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches