Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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.To_inH2O,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",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.0043/0.0043, allocations: 99.8 kB / 15.73 MB, free: 6.004 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.001235/0.001235, allocations: 192.8 kB / 16.67 MB, free: 5.934 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.344/2.344, allocations: 437.1 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001762, allocations: 67.89 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6221/0.6239, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001719/0.6256, allocations: 0.8296 MB / 1.167 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 9.833e-05/0.6257, allocations: 43.78 kB / 1.167 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.6258, allocations: 0 / 1.167 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.332e-05/0.6258, allocations: 15.86 kB / 1.167 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.704e-05/0.6259, allocations: 7.875 kB / 1.167 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.908e-05/0.626, allocations: 19.98 kB / 1.167 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.441e-05/0.6261, allocations: 59.84 kB / 1.167 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.6262, allocations: 47.95 kB / 1.167 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.189e-05/0.6263, allocations: 23.88 kB / 1.167 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.204e-05/0.6263, allocations: 31.78 kB / 1.167 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.6263, allocations: 8 kB / 1.167 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/0.6264, allocations: 4 kB / 1.167 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.6264, allocations: 15.94 kB / 1.167 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.6264, allocations: 31.8 kB / 1.167 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.6265, allocations: 71.36 kB / 1.167 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6265, allocations: 0 / 1.167 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6265, allocations: 0 / 1.167 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.6266, allocations: 4 kB / 1.167 GB, free: 2.59 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.0004129/0.627, allocations: 387.1 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.627, allocations: 12.86 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.6271, allocations: 42.69 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.6271, allocations: 16.83 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.6273, allocations: 192.2 kB / 1.168 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.6273, allocations: 4.375 kB / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.6273, allocations: 8.375 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.6275, allocations: 98.33 kB / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.6275, allocations: 3.938 kB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.6275, allocations: 7.938 kB / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.6275, allocations: 0 / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.143e-05/0.6276, allocations: 39.97 kB / 1.168 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.6281, allocations: 440.7 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.559e-05/0.6281, allocations: 41.22 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.038e-05/0.6282, allocations: 13.78 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.6282, allocations: 8.031 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.6282, allocations: 34.56 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.6282, allocations: 4 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001461/0.6284, allocations: 57.52 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.6284, allocations: 81.11 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.6286, allocations: 156.7 kB / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.6286, allocations: 29.7 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.621e-05/0.6287, allocations: 100.1 kB / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.392e-06/0.6287, allocations: 3.953 kB / 1.169 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.6287, allocations: 21.97 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6289, allocations: 318.8 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.648e-05/0.6289, allocations: 8 kB / 1.169 GB, free: 260 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.302e-05/0.6289, allocations: 17.72 kB / 1.169 GB, free: 236 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.633e-05/0.629, allocations: 33.64 kB / 1.169 GB, free: 196 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.629, allocations: 0 / 1.169 GB, free: 196 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.818e-05/0.6291, allocations: 61.61 kB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.6291, allocations: 7.938 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.6291, allocations: 4 kB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.669e-06/0.6291, allocations: 3.938 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.213e-05/0.6292, allocations: 12.02 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.6292, allocations: 0 / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.826e-05/0.6292, allocations: 7.938 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.6292, allocations: 3.984 kB / 1.17 GB, free: 88 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.462e-05/0.6293, allocations: 118 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.6294, allocations: 11.89 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.6294, allocations: 11.88 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.6294, allocations: 0 / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6294, allocations: 3.984 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6294, allocations: 4 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003816/0.6298, allocations: 466.7 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.6298, allocations: 8.062 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.551e-05/0.6298, allocations: 0 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.6298, allocations: 4 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.6298, allocations: 0 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6298, allocations: 3.938 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6298, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.848e-05/0.6299, allocations: 85.81 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.63, allocations: 89.09 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.63, allocations: 0 / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.008e-05/0.63, allocations: 4 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.6301, allocations: 7.984 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.6301, allocations: 0 / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.359e-05/0.6302, allocations: 121.7 kB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6302, allocations: 0 / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001718/0.6303, allocations: 8 kB / 1.17 GB, free: 15.04 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.0003702/0.6307, allocations: 0.621 MB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.11e-05/0.6308, allocations: 12 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.6308, allocations: 0 / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.181e-05/0.6308, allocations: 8.156 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.631, allocations: 12.06 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.6321, allocations: 1.339 MB / 1.172 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.6324, allocations: 0.6929 MB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.906e-05/0.6324, allocations: 12.42 kB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.278e-05/0.6325, allocations: 27.36 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.6325, allocations: 3.938 kB / 1.173 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.894/2.527, allocations: 1.574 MB / 1.175 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/15.12, allocations: 16.62 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches