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.006599/0.006599, allocations: 100.3 kB / 15.73 MB, free: 6 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.001298/0.001298, allocations: 195.3 kB / 16.67 MB, free: 5.918 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.63/2.63, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 59.91 kB / 1.054 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.982/0.9834, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002433/0.9859, allocations: 0.8384 MB / 1.208 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001465/0.986, allocations: 39.78 kB / 1.208 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.005e-05/0.9861, allocations: 4 kB / 1.208 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.687e-05/0.9862, allocations: 7.875 kB / 1.208 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.377e-05/0.9863, allocations: 11.86 kB / 1.208 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.987e-05/0.9863, allocations: 19.98 kB / 1.208 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.9865, allocations: 59.84 kB / 1.208 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.9866, allocations: 43.92 kB / 1.208 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.927e-05/0.9867, allocations: 31.8 kB / 1.208 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.814e-05/0.9868, allocations: 27.84 kB / 1.208 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.9868, allocations: 8 kB / 1.208 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.9868, allocations: 4 kB / 1.208 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.9869, allocations: 19.92 kB / 1.208 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.9869, allocations: 35.8 kB / 1.208 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.987, allocations: 73.91 kB / 1.208 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.9871, allocations: 0 / 1.208 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9871, allocations: 3.938 kB / 1.208 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.9871, allocations: 0 / 1.208 GB, free: 12.32 MB / 0.9356 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.0004959/0.9876, allocations: 383.1 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.9876, allocations: 8.031 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.568e-05/0.9877, allocations: 38.75 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.9877, allocations: 8.844 kB / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.988, allocations: 204.1 kB / 1.209 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.988, allocations: 8.375 kB / 1.209 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.988, allocations: 4.375 kB / 1.209 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.9882, allocations: 91.89 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.9882, allocations: 3.938 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.9882, allocations: 4 kB / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.9882, allocations: 0 / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.376e-05/0.9883, allocations: 39.92 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/0.989, allocations: 436.6 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.449e-05/0.989, allocations: 45.19 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.553e-05/0.9891, allocations: 17.84 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.9891, allocations: 11.98 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.9891, allocations: 30.56 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.864e-06/0.9891, allocations: 0 / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002017/0.9893, allocations: 57.47 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.9894, allocations: 85.05 kB / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.9896, allocations: 160.7 kB / 1.21 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.9896, allocations: 29.7 kB / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.9897, allocations: 99.98 kB / 1.21 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.087e-05/0.9897, allocations: 7.891 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.9897, allocations: 17.72 kB / 1.21 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.9899, allocations: 318.8 kB / 1.21 GB, free: 10 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/0.9899, allocations: 4 kB / 1.21 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.691e-05/0.9899, allocations: 21.72 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.69e-05/0.99, allocations: 37.59 kB / 1.211 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.99, allocations: 0 / 1.211 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.886e-05/0.9901, allocations: 57.53 kB / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.9901, allocations: 13.81 kB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.9901, allocations: 0 / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.9901, allocations: 0 / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.993e-05/0.9902, allocations: 4 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.9902, allocations: 0 / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.369e-05/0.9903, allocations: 15.97 kB / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.9903, allocations: 0 / 1.211 GB, free: 9.832 MB / 0.9356 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.924e-05/0.9904, allocations: 117.8 kB / 1.211 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.9904, allocations: 11.84 kB / 1.211 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.9905, allocations: 11.88 kB / 1.211 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.9905, allocations: 0 / 1.211 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.9905, allocations: 0 / 1.211 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.9905, allocations: 4 kB / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.9909, allocations: 474.8 kB / 1.211 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.9909, allocations: 4 kB / 1.211 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/0.9909, allocations: 3.984 kB / 1.211 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.991, allocations: 4 kB / 1.211 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.991, allocations: 0 / 1.211 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.991, allocations: 0 / 1.211 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.991, allocations: 0 / 1.211 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.9911, allocations: 81.84 kB / 1.211 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/0.9912, allocations: 96.94 kB / 1.211 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.9912, allocations: 0 / 1.211 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.266e-05/0.9912, allocations: 4 kB / 1.211 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.9912, allocations: 0 / 1.211 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.9913, allocations: 0 / 1.211 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.663e-05/0.9914, allocations: 121.3 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9914, allocations: 4.031 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002011/0.9916, allocations: 11.91 kB / 1.212 GB, free: 8.785 MB / 0.9356 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.0004442/0.992, allocations: 0.6209 MB / 1.212 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.923e-05/0.9921, allocations: 20.02 kB / 1.212 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9921, allocations: 0 / 1.212 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.381e-05/0.9922, allocations: 7.938 kB / 1.212 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.9923, allocations: 11.94 kB / 1.212 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.9936, allocations: 1.333 MB / 1.213 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.9939, allocations: 0.6924 MB / 1.214 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.994, allocations: 8.422 kB / 1.214 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.994, allocations: 23.44 kB / 1.214 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of SimCode: time 2.01e-07/0.994, allocations: 0 / 1.214 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/1.012, allocations: 1.598 MB / 1.216 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.506/8.518, allocations: 5.875 kB / 1.216 GB, free: 4.426 MB / 0.9356 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