Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_latest_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.001494/0.001494, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.263/1.263, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.548/2.548, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 62.55 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2518, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001977/0.2539, allocations: 0.8271 MB / 1.054 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001172/0.254, allocations: 47.78 kB / 1.054 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.453e-05/0.2541, allocations: 0 / 1.054 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.624e-05/0.2541, allocations: 11.86 kB / 1.054 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.354e-05/0.2542, allocations: 7.875 kB / 1.054 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.482e-05/0.2542, allocations: 15.98 kB / 1.054 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.112e-05/0.2543, allocations: 63.84 kB / 1.054 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.2545, allocations: 55.94 kB / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.644e-05/0.2545, allocations: 31.8 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.12e-05/0.2546, allocations: 23.86 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.2546, allocations: 8 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.2546, allocations: 8 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.2546, allocations: 15.92 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.2547, allocations: 31.75 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.537e-05/0.2548, allocations: 75.97 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2548, allocations: 0 / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2548, allocations: 0 / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.2548, allocations: 0 / 1.054 GB, free: 7.059 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.0003518/0.2552, allocations: 371.3 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.2552, allocations: 8.625 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.2553, allocations: 46.67 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.2553, allocations: 12.84 kB / 1.055 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.2555, allocations: 196.2 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.2555, allocations: 12.28 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.2555, allocations: 8.375 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.2556, allocations: 87.94 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2557, allocations: 11.81 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.2557, allocations: 8 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2557, allocations: 0 / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.803e-05/0.2558, allocations: 35.98 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.2562, allocations: 436.7 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.487e-05/0.2563, allocations: 37.09 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.2563, allocations: 25.83 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-06/0.2563, allocations: 4 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.2564, allocations: 34.5 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2564, allocations: 0 / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001518/0.2565, allocations: 49.55 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.2566, allocations: 89.05 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.2567, allocations: 161 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.2567, allocations: 29.95 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.2568, allocations: 104 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.326e-06/0.2568, allocations: 3.906 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.2569, allocations: 21.7 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.075e-05/0.2569, allocations: 318.8 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/0.257, allocations: 0 / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.285e-05/0.257, allocations: 25.7 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.859e-05/0.257, allocations: 25.72 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.257, allocations: 0 / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.052e-05/0.2571, allocations: 61.53 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2571, allocations: 11.94 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2572, allocations: 0 / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.2572, allocations: 0 / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.689e-05/0.2572, allocations: 4 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.2572, allocations: 4 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.215e-05/0.2573, allocations: 15.84 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.2573, allocations: 0 / 1.056 GB, free: 4.574 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.879e-05/0.2574, allocations: 115.4 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.2574, allocations: 11.84 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.2574, allocations: 15.86 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2575, allocations: 0 / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2575, allocations: 3.938 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2575, allocations: 7.938 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.2578, allocations: 470.8 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2578, allocations: 0 / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/0.2578, allocations: 0 / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2579, allocations: 4 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.2579, allocations: 0 / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2579, allocations: 0 / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2579, allocations: 4 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.541e-05/0.258, allocations: 93.91 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/0.258, allocations: 89 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.258, allocations: 0 / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.938e-05/0.2581, allocations: 4 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.2581, allocations: 0 / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.2581, allocations: 0 / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.76e-05/0.2582, allocations: 123.2 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2582, allocations: 4.031 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001865/0.2584, allocations: 8 kB / 1.057 GB, free: 3.527 MB / 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.0003156/0.2587, allocations: 0.6132 MB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.099e-05/0.2588, allocations: 19.97 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2588, allocations: 0 / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.03e-05/0.2588, allocations: 4 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.2589, allocations: 9.719 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.26, allocations: 1.327 MB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.2602, allocations: 0.6924 MB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.319e-05/0.2602, allocations: 8.422 kB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.2603, allocations: 27.44 kB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.2603, allocations: 0 / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.2764, allocations: 1.543 MB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.722/6.998, allocations: 12.67 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches