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.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.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.000872/0.000872, allocations: 97.72 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.005/0.005, allocations: 170 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.274/1.274, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.514/2.514, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003094, allocations: 13.92 kB / 0.9029 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2508, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.000902/0.2517, allocations: 0.5492 MB / 1.059 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 9.557e-05/0.2518, allocations: 39.78 kB / 1.059 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.146e-05/0.2519, allocations: 0 / 1.059 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.2519, allocations: 7.922 kB / 1.059 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.674e-05/0.252, allocations: 7.938 kB / 1.059 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.028e-05/0.252, allocations: 15.98 kB / 1.059 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.904e-05/0.2521, allocations: 51.86 kB / 1.059 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.2522, allocations: 47.94 kB / 1.059 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.885e-05/0.2523, allocations: 19.86 kB / 1.059 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.646e-05/0.2523, allocations: 19.8 kB / 1.06 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.2524, allocations: 4 kB / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-06/0.2524, allocations: 4 kB / 1.06 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.2524, allocations: 11.94 kB / 1.06 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.86e-05/0.2524, allocations: 49.45 kB / 1.06 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.363e-05/0.2525, allocations: 71.95 kB / 1.06 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2525, allocations: 0 / 1.06 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2525, allocations: 0 / 1.06 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.2525, allocations: 4 kB / 1.06 GB, free: 3.961 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.0003289/0.2529, allocations: 359.3 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2529, allocations: 11.97 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.483e-05/0.253, allocations: 46.73 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.371e-05/0.253, allocations: 8.844 kB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.2532, allocations: 192.2 kB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.2532, allocations: 4.375 kB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.2532, allocations: 8.375 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.2533, allocations: 87.95 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.2533, allocations: 3.938 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2534, allocations: 7.984 kB / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2534, allocations: 7.938 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.317e-05/0.2535, allocations: 39.92 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.2539, allocations: 432.5 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.987e-05/0.254, allocations: 49.22 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.254, allocations: 17.84 kB / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.254, allocations: 4 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.254, allocations: 34.55 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.254, allocations: 0 / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001458/0.2542, allocations: 57.73 kB / 1.061 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.2542, allocations: 81.11 kB / 1.061 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.2544, allocations: 168 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.2544, allocations: 25.7 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.2545, allocations: 107.9 kB / 1.061 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.033e-06/0.2545, allocations: 0 / 1.061 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.2545, allocations: 21.66 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.181e-05/0.2546, allocations: 318.8 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.2546, allocations: 4 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.083e-05/0.2546, allocations: 21.72 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.463e-05/0.2547, allocations: 25.7 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2547, allocations: 0 / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.835e-05/0.2548, allocations: 61.55 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.2548, allocations: 7.938 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2548, allocations: 64 / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.2548, allocations: 8 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.234e-05/0.2549, allocations: 7.984 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.2549, allocations: 0 / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.2549, allocations: 11.84 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.2549, allocations: 7.984 kB / 1.062 GB, free: 1.484 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.111e-05/0.255, allocations: 113.8 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.255, allocations: 11.84 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.255, allocations: 11.88 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.2551, allocations: 7.938 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.2551, allocations: 3.984 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.2551, allocations: 0 / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.2554, allocations: 462.8 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2554, allocations: 7.875 kB / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-05/0.2554, allocations: 4 kB / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2554, allocations: 0 / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.2554, allocations: 0 / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2555, allocations: 8.062 kB / 1.062 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2555, allocations: 0 / 1.062 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.028e-05/0.2555, allocations: 81.92 kB / 1.062 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.2556, allocations: 92.91 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.2556, allocations: 0 / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.912e-05/0.2556, allocations: 0 / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.2556, allocations: 15.95 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.2556, allocations: 3.938 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.289e-05/0.2557, allocations: 127.5 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2557, allocations: 0 / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001771/0.2559, allocations: 8 kB / 1.063 GB, free: 444 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.0002979/0.2562, allocations: 0.6093 MB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.838e-05/0.2563, allocations: 23.92 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2563, allocations: 0 / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.999e-06/0.2563, allocations: 4 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.2565, allocations: 8 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009562/0.2574, allocations: 1.334 MB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.2576, allocations: 0.7004 MB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.024e-05/0.2577, allocations: 4.438 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.2577, allocations: 27.36 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2577, allocations: 0 / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.2732, allocations: 1.365 MB / 1.067 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/0.2736, allocations: 215.6 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/1.813, allocations: 1.406 kB / 1.067 GB, free: 12.09 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