Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_10_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.0007995/0.0007995, allocations: 97.64 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.004685/0.004685, allocations: 170.1 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.228/1.228, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.365/2.365, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002898/0.0002898, allocations: 12 kB / 0.8729 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5224/0.5227, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.00089/0.5236, allocations: 0.5393 MB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 9.544e-05/0.5237, allocations: 43.78 kB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.871e-05/0.5238, allocations: 0 / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.103e-05/0.5238, allocations: 7.922 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.97e-05/0.5239, allocations: 4 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.083e-05/0.5239, allocations: 15.98 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.628e-05/0.524, allocations: 59.8 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.5242, allocations: 47.94 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.663e-05/0.5242, allocations: 11.88 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.444e-05/0.5243, allocations: 19.86 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.5243, allocations: 4 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.923e-06/0.5243, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.5243, allocations: 7.938 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.5244, allocations: 57.44 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.409e-05/0.5244, allocations: 69.94 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5245, allocations: 4 kB / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5245, allocations: 0 / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.5245, allocations: 0 / 1.024 GB, free: 14.97 MB / 0.7794 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.0003269/0.5248, allocations: 367.2 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.5248, allocations: 8.031 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.698e-05/0.5249, allocations: 42.73 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/0.5249, allocations: 8.844 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.5251, allocations: 188.2 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.5251, allocations: 8.375 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.5251, allocations: 12.38 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.5252, allocations: 95.86 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.5253, allocations: 3.938 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/0.5253, allocations: 4 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.5253, allocations: 4 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.703e-05/0.5254, allocations: 35.92 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.5258, allocations: 448.5 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.519e-05/0.5259, allocations: 37.19 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.5259, allocations: 25.83 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.5259, allocations: 4 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.5259, allocations: 30.56 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5259, allocations: 0 / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001406/0.5261, allocations: 57.48 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.5261, allocations: 77.11 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.5263, allocations: 165.3 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.5263, allocations: 29.7 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.5263, allocations: 108 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.742e-06/0.5263, allocations: 3.906 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.5264, allocations: 9.719 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.602e-05/0.5265, allocations: 322.8 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/0.5265, allocations: 8 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.914e-05/0.5265, allocations: 17.7 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.776e-05/0.5266, allocations: 33.66 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5266, allocations: 0 / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.354e-05/0.5266, allocations: 57.55 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.5267, allocations: 7.938 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5267, allocations: 3.984 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.5267, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.001e-05/0.5267, allocations: 8 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.5267, allocations: 0 / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.087e-05/0.5268, allocations: 11.97 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-06/0.5268, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 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.706e-05/0.5269, allocations: 114.4 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.5269, allocations: 11.84 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.999e-05/0.5269, allocations: 11.86 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.5269, allocations: 4 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.5269, allocations: 0 / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.5269, allocations: 0 / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.5273, allocations: 474.8 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.5273, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.956e-05/0.5273, allocations: 4 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.5273, allocations: 3.938 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.5273, allocations: 4 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.5273, allocations: 7.984 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5273, allocations: 3.938 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.719e-05/0.5274, allocations: 81.89 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.5275, allocations: 92.95 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.5275, allocations: 3.984 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.928e-05/0.5275, allocations: 3.938 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.5275, allocations: 0 / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.5275, allocations: 4 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.6e-05/0.5276, allocations: 119.2 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5276, allocations: 4.031 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001748/0.5278, allocations: 4 kB / 1.027 GB, free: 11.45 MB / 0.7794 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.0002943/0.5281, allocations: 0.6208 MB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.935e-05/0.5282, allocations: 20.03 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5282, allocations: 0 / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.034e-05/0.5282, allocations: 7.938 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.5283, allocations: 11.36 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009639/0.5293, allocations: 1.338 MB / 1.029 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.5295, allocations: 0.6926 MB / 1.03 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.246e-05/0.5295, allocations: 12.42 kB / 1.03 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.5296, allocations: 23.44 kB / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of SimCode: time 1.383e-06/0.5296, allocations: 0 / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009928/0.5395, allocations: 1.358 MB / 1.031 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.5398, allocations: 212.4 kB / 1.031 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.49/2.03, allocations: 4 kB / 1.031 GB, free: 7.094 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches