Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_11_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.004258/0.004258, allocations: 99.8 kB / 15.73 MB, free: 6.043 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.001186/0.001186, allocations: 202.5 kB / 16.68 MB, free: 5.965 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.645/2.645, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 76.09 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.257, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001915/0.259, allocations: 0.8272 MB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001101/0.2591, allocations: 35.8 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.807e-05/0.2592, allocations: 4 kB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.603e-05/0.2592, allocations: 11.86 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.398e-05/0.2593, allocations: 7.875 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.412e-05/0.2593, allocations: 23.98 kB / 1.221 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.554e-05/0.2594, allocations: 59.83 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.2596, allocations: 51.84 kB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.537e-05/0.2596, allocations: 19.88 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.914e-05/0.2597, allocations: 39.78 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.2597, allocations: 4 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.2597, allocations: 8 kB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.2597, allocations: 11.94 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.2598, allocations: 43.67 kB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.2599, allocations: 67.64 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2599, allocations: 4 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2599, allocations: 0 / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.2599, allocations: 0 / 1.221 GB, free: 13.09 MB / 0.9825 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.0004115/0.2603, allocations: 387.1 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.2604, allocations: 8.031 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.2604, allocations: 38.75 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.2605, allocations: 16.83 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.2607, allocations: 192.2 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.2607, allocations: 4.375 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.2607, allocations: 8.375 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.2609, allocations: 97.73 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.2609, allocations: 11.88 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.2609, allocations: 0 / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.2609, allocations: 4 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.678e-05/0.261, allocations: 31.98 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.2615, allocations: 436.8 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.928e-05/0.2616, allocations: 45.09 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.2616, allocations: 17.84 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/0.2616, allocations: 0 / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.2616, allocations: 38.5 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.2616, allocations: 0 / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001525/0.2618, allocations: 57.8 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.2619, allocations: 85.08 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.262, allocations: 164.4 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.262, allocations: 25.7 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.2621, allocations: 100.1 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.663e-06/0.2621, allocations: 3.953 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.2621, allocations: 21.67 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2623, allocations: 322.8 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.859e-05/0.2623, allocations: 8 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.348e-05/0.2624, allocations: 21.66 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.977e-05/0.2624, allocations: 21.72 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2624, allocations: 0 / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.167e-05/0.2625, allocations: 65.58 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2625, allocations: 11.88 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.2625, allocations: 4.062 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.2625, allocations: 0 / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.157e-05/0.2626, allocations: 8 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.2626, allocations: 3.984 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.992e-05/0.2626, allocations: 3.938 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.2627, allocations: 7.938 kB / 1.224 GB, free: 10.59 MB / 0.9825 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 7.405e-05/0.2627, allocations: 113.8 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.2628, allocations: 11.89 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.2628, allocations: 7.875 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2628, allocations: 8 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2628, allocations: 4 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.2628, allocations: 0 / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/0.2632, allocations: 478.7 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2632, allocations: 0 / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/0.2633, allocations: 4 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2633, allocations: 0 / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.2633, allocations: 64 / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2633, allocations: 4 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2633, allocations: 4 kB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.172e-05/0.2634, allocations: 81.81 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.523e-05/0.2634, allocations: 85.06 kB / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.2635, allocations: 4 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.878e-05/0.2635, allocations: 0 / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.169e-05/0.2635, allocations: 4.031 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.2635, allocations: 8.078 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.558e-05/0.2636, allocations: 117.3 kB / 1.224 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2636, allocations: 0 / 1.224 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001798/0.2638, allocations: 4 kB / 1.224 GB, free: 9.562 MB / 0.9825 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.0003789/0.2642, allocations: 0.6177 MB / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.95e-05/0.2643, allocations: 23.92 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.2643, allocations: 0 / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.027e-05/0.2643, allocations: 7.938 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.2644, allocations: 15.92 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.2656, allocations: 1.335 MB / 1.226 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.2659, allocations: 0.6889 MB / 1.227 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.83e-05/0.2659, allocations: 8.422 kB / 1.227 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.266, allocations: 31.36 kB / 1.227 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.266, allocations: 4 kB / 1.227 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4821/0.7481, allocations: 1.582 MB / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.41, allocations: 0 / 1.229 GB, free: 5.203 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches