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.001824/0.001824, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002642/0.002642, allocations: 194.9 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.263/2.263, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.95/3.95, allocations: 461.9 MB / 0.7344 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 65.08 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3346, allocations: 157.4 MB / 1.052 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002843/0.3375, allocations: 0.8997 MB / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001479/0.3377, allocations: 43.78 kB / 1.053 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.362e-05/0.3378, allocations: 0 / 1.053 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.262e-05/0.3379, allocations: 3.938 kB / 1.053 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.338, allocations: 7.938 kB / 1.053 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.648e-05/0.3381, allocations: 11.98 kB / 1.053 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.3382, allocations: 63.84 kB / 1.053 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.3384, allocations: 47.97 kB / 1.053 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.114e-05/0.3385, allocations: 23.81 kB / 1.053 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.3386, allocations: 31.84 kB / 1.054 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.3387, allocations: 4 kB / 1.054 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.773e-05/0.3387, allocations: 8 kB / 1.054 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.3387, allocations: 11.94 kB / 1.054 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.232e-05/0.3388, allocations: 47.72 kB / 1.054 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.339, allocations: 64 kB / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.339, allocations: 0 / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.392e-06/0.339, allocations: 0 / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.339, allocations: 0 / 1.054 GB, free: 7.328 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.0005895/0.3396, allocations: 376.8 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.762e-05/0.3397, allocations: 12.62 kB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.443e-05/0.3398, allocations: 34.75 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.3398, allocations: 16.77 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.3401, allocations: 200.2 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.3402, allocations: 8.281 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.3402, allocations: 8.375 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.3405, allocations: 87.89 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.3405, allocations: 7.875 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.3405, allocations: 8 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.3405, allocations: 0 / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.3407, allocations: 39.97 kB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008931/0.3416, allocations: 444.5 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.794e-05/0.3417, allocations: 33.16 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.856e-05/0.3418, allocations: 29.83 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.3418, allocations: 0 / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.3419, allocations: 34.59 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.174e-06/0.3419, allocations: 0 / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002757/0.3422, allocations: 61.47 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.575e-05/0.3423, allocations: 81.11 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.3425, allocations: 158.4 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.3426, allocations: 29.7 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.3427, allocations: 104 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.3427, allocations: 3.906 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.92e-05/0.3428, allocations: 17.72 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3429, allocations: 322.8 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.714e-05/0.343, allocations: 4 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.903e-05/0.343, allocations: 17.72 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.936e-05/0.3431, allocations: 33.64 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3431, allocations: 0 / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001483/0.3433, allocations: 53.61 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.3433, allocations: 13.81 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3433, allocations: 4 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.3434, allocations: 0 / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.625e-05/0.3435, allocations: 11.92 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3435, allocations: 8.062 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.139e-05/0.3435, allocations: 7.844 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.3436, allocations: 4 kB / 1.056 GB, free: 4.828 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 0.0001099/0.3437, allocations: 113.8 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/0.3438, allocations: 11.84 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.3438, allocations: 7.875 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3438, allocations: 0 / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.3439, allocations: 7.984 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3439, allocations: 7.875 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006313/0.3445, allocations: 470.8 kB / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3445, allocations: 0 / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.954e-05/0.3446, allocations: 4 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3446, allocations: 0 / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.3446, allocations: 0 / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3446, allocations: 0 / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3446, allocations: 0 / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.3447, allocations: 93.83 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.3448, allocations: 81.02 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.3449, allocations: 4 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.552e-05/0.3449, allocations: 0 / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.3449, allocations: 3.984 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.3449, allocations: 0 / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001387/0.3451, allocations: 130.1 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.31e-07/0.3451, allocations: 0 / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003552/0.3455, allocations: 8 kB / 1.057 GB, free: 3.793 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.0005214/0.346, allocations: 0.617 MB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.3461, allocations: 16.03 kB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.3462, allocations: 4 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.23e-05/0.3462, allocations: 7.938 kB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.3465, allocations: 4 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.3482, allocations: 1.339 MB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.3486, allocations: 0.6963 MB / 1.059 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.867e-05/0.3486, allocations: 8.438 kB / 1.059 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/0.3487, allocations: 27.42 kB / 1.059 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/0.3487, allocations: 0 / 1.059 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5215/0.8703, allocations: 1.466 MB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002906/0.8706, allocations: 224.2 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.71/3.58, allocations: 4.938 kB / 1.061 GB, free: 15.33 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