Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_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.0009/0.0008999, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.006438/0.006438, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.223/1.223, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.06/2.06, allocations: 390.9 MB / 0.6664 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003207, allocations: 16 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4903/0.4906, allocations: 142.4 MB / 0.9552 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.0006876/0.4913, allocations: 0.5348 MB / 0.9557 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 7.624e-05/0.4914, allocations: 37.17 kB / 0.9557 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.303e-05/0.4914, allocations: 1.406 kB / 0.9557 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.4915, allocations: 3.938 kB / 0.9557 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.466e-05/0.4915, allocations: 9.453 kB / 0.9558 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.424e-05/0.4916, allocations: 15.39 kB / 0.9558 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.395e-05/0.4916, allocations: 57.94 kB / 0.9558 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.4917, allocations: 42.41 kB / 0.9559 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.111e-05/0.4918, allocations: 13.38 kB / 0.9559 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.601e-05/0.4918, allocations: 20.33 kB / 0.9559 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.4918, allocations: 1.5 kB / 0.9559 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.413e-06/0.4919, allocations: 1.438 kB / 0.9559 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.4919, allocations: 18.64 kB / 0.9559 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.4919, allocations: 47.17 kB / 0.956 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.112e-05/0.492, allocations: 70.31 kB / 0.956 GB, free: 7 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.492, allocations: 0 / 0.956 GB, free: 7 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.492, allocations: 1.125 kB / 0.956 GB, free: 7 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.885e-06/0.492, allocations: 0 / 0.956 GB, free: 7 MB / 0.7169 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.000229/0.4922, allocations: 369.6 kB / 0.9564 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.4923, allocations: 13.78 kB / 0.9564 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.169e-05/0.4923, allocations: 36.09 kB / 0.9564 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.081e-05/0.4923, allocations: 18.59 kB / 0.9565 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.4924, allocations: 189.7 kB / 0.9566 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.4924, allocations: 4.625 kB / 0.9566 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.4925, allocations: 9.031 kB / 0.9566 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.4926, allocations: 93.73 kB / 0.9567 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.4926, allocations: 4.906 kB / 0.9567 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.4926, allocations: 1.188 kB / 0.9567 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.4926, allocations: 1.531 kB / 0.9567 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.943e-05/0.4927, allocations: 40.3 kB / 0.9568 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.493, allocations: 438.1 kB / 0.9572 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.357e-05/0.493, allocations: 44.89 kB / 0.9572 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.455e-05/0.4931, allocations: 22.78 kB / 0.9573 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.491e-06/0.4931, allocations: 4.938 kB / 0.9573 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.123e-05/0.4931, allocations: 31.69 kB / 0.9573 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.4931, allocations: 1 kB / 0.9573 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001189/0.4932, allocations: 58.34 kB / 0.9574 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.4933, allocations: 82.48 kB / 0.9574 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.4934, allocations: 164.2 kB / 0.9576 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.169e-06/0.4934, allocations: 25.7 kB / 0.9576 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.096e-05/0.4934, allocations: 104.3 kB / 0.9577 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-06/0.4934, allocations: 8.953 kB / 0.9577 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/0.4934, allocations: 14.81 kB / 0.9577 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.232e-05/0.4935, allocations: 317.2 kB / 0.958 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.4935, allocations: 7.234 kB / 0.958 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.628e-05/0.4935, allocations: 23.09 kB / 0.9581 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.898e-05/0.4935, allocations: 25.88 kB / 0.9581 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4935, allocations: 0.875 kB / 0.9581 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.129e-05/0.4936, allocations: 59 kB / 0.9581 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.4936, allocations: 9.656 kB / 0.9582 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.4936, allocations: 3.938 kB / 0.9582 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.4936, allocations: 1.312 kB / 0.9582 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.495e-05/0.4937, allocations: 9.469 kB / 0.9582 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.4937, allocations: 1.094 kB / 0.9582 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.597e-05/0.4937, allocations: 10.33 kB / 0.9582 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-06/0.4937, allocations: 1.188 kB / 0.9582 GB, free: 4.789 MB / 0.7169 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 3.912e-05/0.4938, allocations: 113.5 kB / 0.9583 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.4938, allocations: 15.17 kB / 0.9583 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.697e-05/0.4938, allocations: 11 kB / 0.9583 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4938, allocations: 1.188 kB / 0.9583 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.4939, allocations: 4 kB / 0.9583 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.4939, allocations: 1 kB / 0.9583 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.4941, allocations: 466.2 kB / 0.9588 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4941, allocations: 0.875 kB / 0.9588 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.579e-05/0.4941, allocations: 3.562 kB / 0.9588 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.4941, allocations: 0 / 0.9588 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.4941, allocations: 5.172 kB / 0.9588 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4941, allocations: 1.094 kB / 0.9588 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.4941, allocations: 8.062 kB / 0.9588 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.737e-05/0.4942, allocations: 83.06 kB / 0.9589 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.4942, allocations: 91.81 kB / 0.959 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.4942, allocations: 1.031 kB / 0.959 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.792e-05/0.4943, allocations: 1.062 kB / 0.959 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.696e-06/0.4943, allocations: 8.906 kB / 0.959 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.4943, allocations: 1.062 kB / 0.959 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.386e-05/0.4943, allocations: 129.3 kB / 0.9591 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4943, allocations: 0 / 0.9591 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001623/0.4945, allocations: 5.531 kB / 0.9591 GB, free: 3.836 MB / 0.7169 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.0001707/0.4947, allocations: 0.6193 MB / 0.9597 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.178e-05/0.4947, allocations: 15.62 kB / 0.9597 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.4947, allocations: 0 / 0.9597 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.967e-06/0.4948, allocations: 7.5 kB / 0.9597 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.4949, allocations: 11.36 kB / 0.9597 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006845/0.4956, allocations: 1.344 MB / 0.961 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.504e-05/0.4957, allocations: 0.6985 MB / 0.9617 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.664e-05/0.4957, allocations: 7.766 kB / 0.9617 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.4957, allocations: 23.67 kB / 0.9618 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.4957, allocations: 0 / 0.9618 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7048/1.2, allocations: 1.361 MB / 0.9631 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/1.201, allocations: 208.8 kB / 0.9633 GB, free: 328 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.974, allocations: 4.844 kB / 0.9633 GB, free: 324 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches