Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.To_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_latest_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.000727/0.000727, allocations: 98.11 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.004107/0.004107, allocations: 169.4 kB / 16.26 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.258/1.258, allocations: 223.3 MB / 240.3 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.517/2.517, allocations: 462.7 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002928/0.0002928, allocations: 8.656 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2413, allocations: 159.6 MB / 1.059 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.0008638/0.2422, allocations: 0.5453 MB / 1.059 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001049/0.2423, allocations: 39.78 kB / 1.059 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-05/0.2423, allocations: 4 kB / 1.059 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.2424, allocations: 11.92 kB / 1.059 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.032e-05/0.2424, allocations: 3.938 kB / 1.059 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.09e-05/0.2425, allocations: 15.98 kB / 1.059 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.032e-05/0.2426, allocations: 55.86 kB / 1.059 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.2427, allocations: 47.92 kB / 1.059 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.643e-05/0.2427, allocations: 19.88 kB / 1.059 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.903e-05/0.2428, allocations: 23.8 kB / 1.06 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.2428, allocations: 3.938 kB / 1.06 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.715e-06/0.2428, allocations: 4 kB / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.2428, allocations: 3.938 kB / 1.06 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.2429, allocations: 61.44 kB / 1.06 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.137e-05/0.243, allocations: 63.97 kB / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.243, allocations: 0 / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.263e-06/0.243, allocations: 0 / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.243, allocations: 4 kB / 1.06 GB, free: 3.934 MB / 0.8106 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.0003463/0.2434, allocations: 367.3 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2434, allocations: 11.97 kB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.505e-05/0.2434, allocations: 42.73 kB / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.2435, allocations: 8.844 kB / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.2436, allocations: 188.2 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2437, allocations: 12.31 kB / 1.06 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.2437, allocations: 4.375 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.2438, allocations: 101.5 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2438, allocations: 3.938 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.2439, allocations: 0 / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.2439, allocations: 4 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.376e-05/0.2439, allocations: 39.92 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.2444, allocations: 436.5 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.828e-05/0.2445, allocations: 41.34 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.2445, allocations: 21.77 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-06/0.2445, allocations: 4 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.2446, allocations: 38.56 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.2446, allocations: 0 / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001517/0.2447, allocations: 53.48 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.2448, allocations: 77.11 kB / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.2449, allocations: 167.6 kB / 1.061 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.2449, allocations: 25.7 kB / 1.061 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.245, allocations: 112.2 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.971e-06/0.245, allocations: 0 / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.245, allocations: 13.72 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.237e-05/0.2451, allocations: 326.8 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.2451, allocations: 4 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.209e-05/0.2452, allocations: 21.7 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.678e-05/0.2452, allocations: 25.72 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2452, allocations: 0 / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.838e-05/0.2453, allocations: 57.55 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2453, allocations: 15.88 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2453, allocations: 3.984 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.2453, allocations: 0 / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.944e-05/0.2454, allocations: 8 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.2454, allocations: 3.984 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.938e-05/0.2455, allocations: 7.844 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.2455, allocations: 4 kB / 1.062 GB, free: 1.457 MB / 0.8106 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 6.385e-05/0.2455, allocations: 117.9 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.2456, allocations: 11.84 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.2456, allocations: 15.8 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2456, allocations: 0 / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2456, allocations: 7.938 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.2456, allocations: 0 / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.246, allocations: 466.8 kB / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.246, allocations: 0 / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/0.246, allocations: 7.938 kB / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.246, allocations: 0 / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-06/0.246, allocations: 0 / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.246, allocations: 0 / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.246, allocations: 0 / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.083e-05/0.2461, allocations: 89.89 kB / 1.062 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.2462, allocations: 84.92 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.2462, allocations: 8.078 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.923e-05/0.2462, allocations: 0 / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.2462, allocations: 3.984 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.2462, allocations: 0 / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.346e-05/0.2463, allocations: 130 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2463, allocations: 0 / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000179/0.2465, allocations: 8 kB / 1.063 GB, free: 424 kB / 0.8106 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.0003243/0.2468, allocations: 0.6171 MB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.148e-05/0.2469, allocations: 11.94 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2469, allocations: 160 / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.103e-05/0.2469, allocations: 12 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.2471, allocations: 8 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.2481, allocations: 1.35 MB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.2484, allocations: 0.6887 MB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.635e-05/0.2484, allocations: 12.42 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.2484, allocations: 19.38 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2485, allocations: 4 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.2721, allocations: 1.358 MB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/0.2723, allocations: 221.5 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/1.96, allocations: 0 / 1.067 GB, free: 12.07 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches