Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.To_inH2O,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_11_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.001699/0.001699, 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.001818/0.001818, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.268/1.268, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.569/2.569, allocations: 469.8 MB / 0.7424 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 67.14 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2622, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002171/0.2644, allocations: 0.8255 MB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000125/0.2646, allocations: 43.78 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.2646, allocations: 4 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.733e-05/0.2647, allocations: 11.86 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.446e-05/0.2648, allocations: 3.938 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.046e-05/0.2648, allocations: 19.98 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.2649, allocations: 71.77 kB / 1.065 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.2651, allocations: 35.97 kB / 1.065 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.382e-05/0.2651, allocations: 27.86 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.388e-05/0.2652, allocations: 27.86 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.2652, allocations: 8 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-06/0.2652, allocations: 4 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.2653, allocations: 23.86 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.2653, allocations: 31.75 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.2654, allocations: 75.97 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.2654, allocations: 3.938 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2654, allocations: 0 / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.2654, allocations: 0 / 1.065 GB, free: 12.99 MB / 0.8262 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.0004241/0.2659, allocations: 372.7 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2659, allocations: 8.031 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.266, allocations: 42.73 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.266, allocations: 12.75 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.2662, allocations: 192.2 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.2662, allocations: 4.312 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.2662, allocations: 12.38 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.2664, allocations: 93.59 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2664, allocations: 7.938 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.2664, allocations: 4 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2664, allocations: 7.984 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.559e-05/0.2665, allocations: 39.92 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005279/0.2671, allocations: 432.6 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.589e-05/0.2671, allocations: 45.25 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.623e-05/0.2672, allocations: 17.77 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.904e-06/0.2672, allocations: 4 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.2672, allocations: 30.56 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2672, allocations: 0 / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001605/0.2674, allocations: 61.48 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.2674, allocations: 77.11 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.2676, allocations: 165 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.2676, allocations: 29.7 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.2677, allocations: 105.9 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.452e-06/0.2677, allocations: 3.906 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.2678, allocations: 17.97 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2679, allocations: 322.8 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.2679, allocations: 4 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.586e-05/0.2679, allocations: 21.7 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.428e-05/0.268, allocations: 33.66 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.268, allocations: 0 / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.63e-05/0.2681, allocations: 61.55 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.2681, allocations: 11.92 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2681, allocations: 4 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.2682, allocations: 0 / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.207e-05/0.2682, allocations: 7.938 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.2682, allocations: 0 / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.354e-05/0.2683, allocations: 11.84 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.2683, allocations: 0 / 1.067 GB, free: 10.5 MB / 0.8262 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.991e-05/0.2684, allocations: 113.8 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.2684, allocations: 15.91 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.2684, allocations: 19.8 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2685, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2685, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2685, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/0.2689, allocations: 466.8 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2689, allocations: 4 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/0.2689, allocations: 0 / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.2689, allocations: 8.062 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.2689, allocations: 0 / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2689, allocations: 0 / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.269, allocations: 0 / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.578e-05/0.269, allocations: 85.77 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.2691, allocations: 89 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.2691, allocations: 4.031 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.93e-05/0.2692, allocations: 0 / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-06/0.2692, allocations: 4 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.2692, allocations: 0 / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.452e-05/0.2693, allocations: 123.2 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2693, allocations: 0 / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001805/0.2695, allocations: 8 kB / 1.068 GB, free: 9.469 MB / 0.8262 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.0004266/0.2699, allocations: 0.6208 MB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.593e-05/0.27, allocations: 20 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.27, allocations: 0 / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.038e-05/0.27, allocations: 7.938 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.2702, allocations: 12.22 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.2714, allocations: 1.319 MB / 1.07 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.2717, allocations: 0.6963 MB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.239e-05/0.2718, allocations: 8.516 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.2718, allocations: 19.44 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.2718, allocations: 0 / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3752/0.647, allocations: 1.549 MB / 1.072 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.18, allocations: 15.92 kB / 1.072 GB, free: 5.125 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches