Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_9_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.001197/0.001197, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001132/0.001132, allocations: 194.5 kB / 16.14 MB, free: 6.711 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.315/1.315, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 390.2 MB / 0.6643 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 68.03 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5359/0.5371, allocations: 140.4 MB / 0.9491 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001727/0.5389, allocations: 0.8657 MB / 0.9499 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.349e-05/0.539, allocations: 45.09 kB / 0.9499 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.244e-05/0.5391, allocations: 1.469 kB / 0.9499 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.5391, allocations: 7.938 kB / 0.95 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.726e-05/0.5392, allocations: 5.234 kB / 0.95 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.723e-05/0.5392, allocations: 10.75 kB / 0.95 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.49e-05/0.5393, allocations: 63.03 kB / 0.95 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.5394, allocations: 43.08 kB / 0.9501 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.632e-05/0.5395, allocations: 26.73 kB / 0.9501 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.229e-05/0.5395, allocations: 21.36 kB / 0.9501 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.5395, allocations: 4.125 kB / 0.9501 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-06/0.5395, allocations: 2.75 kB / 0.9501 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.5396, allocations: 18.67 kB / 0.9501 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.5396, allocations: 34.56 kB / 0.9502 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.9e-05/0.5397, allocations: 70.38 kB / 0.9502 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5397, allocations: 0 / 0.9502 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.01e-07/0.5397, allocations: 3.938 kB / 0.9502 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.5397, allocations: 0 / 0.9502 GB, free: 8.371 MB / 0.7169 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.0002897/0.54, allocations: 382.5 kB / 0.9506 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.54, allocations: 9.625 kB / 0.9506 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.828e-05/0.5401, allocations: 41.48 kB / 0.9507 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.301e-05/0.5401, allocations: 8.969 kB / 0.9507 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.5402, allocations: 199.1 kB / 0.9509 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.5402, allocations: 3.125 kB / 0.9509 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.5403, allocations: 9.875 kB / 0.9509 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.5404, allocations: 98.5 kB / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.5404, allocations: 5.312 kB / 0.951 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.5404, allocations: 11.94 kB / 0.951 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.5404, allocations: 2.75 kB / 0.951 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.406e-05/0.5405, allocations: 39.17 kB / 0.951 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.5409, allocations: 438 kB / 0.9514 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.633e-05/0.5409, allocations: 39.94 kB / 0.9515 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.696e-05/0.5409, allocations: 16.59 kB / 0.9515 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-06/0.541, allocations: 0 / 0.9515 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.128e-05/0.541, allocations: 39.92 kB / 0.9515 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.541, allocations: 0 / 0.9515 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001351/0.5411, allocations: 59.23 kB / 0.9516 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/0.5411, allocations: 78.48 kB / 0.9517 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.5412, allocations: 158.9 kB / 0.9518 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.64e-06/0.5413, allocations: 29.7 kB / 0.9518 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.5413, allocations: 109 kB / 0.9519 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.232e-06/0.5413, allocations: 5.719 kB / 0.952 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.5413, allocations: 20.72 kB / 0.952 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.833e-05/0.5414, allocations: 321.6 kB / 0.9523 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.5414, allocations: 2.75 kB / 0.9523 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.631e-05/0.5414, allocations: 22.08 kB / 0.9523 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.076e-05/0.5415, allocations: 27.41 kB / 0.9523 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5415, allocations: 0 / 0.9523 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.678e-05/0.5415, allocations: 63.7 kB / 0.9524 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.5415, allocations: 8.5 kB / 0.9524 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.5416, allocations: 0 / 0.9524 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.5416, allocations: 5.297 kB / 0.9524 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.225e-05/0.5416, allocations: 5.594 kB / 0.9524 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.5416, allocations: 1.438 kB / 0.9524 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.5417, allocations: 1.438 kB / 0.9524 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.5417, allocations: 1.188 kB / 0.9524 GB, free: 6.152 MB / 0.7169 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 4.35e-05/0.5417, allocations: 121.6 kB / 0.9525 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.5418, allocations: 12.25 kB / 0.9525 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.5418, allocations: 14.05 kB / 0.9526 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.5418, allocations: 1.5 kB / 0.9526 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.5418, allocations: 1.406 kB / 0.9526 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.5418, allocations: 0 / 0.9526 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.5421, allocations: 473.8 kB / 0.953 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5421, allocations: 5.594 kB / 0.953 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.717e-05/0.5421, allocations: 2.5 kB / 0.953 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5421, allocations: 1.125 kB / 0.953 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.5421, allocations: 0 / 0.953 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5421, allocations: 0.875 kB / 0.953 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5421, allocations: 5.281 kB / 0.953 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.627e-05/0.5422, allocations: 86.45 kB / 0.9531 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.572e-05/0.5422, allocations: 87.36 kB / 0.9532 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.5422, allocations: 5.297 kB / 0.9532 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.057e-05/0.5422, allocations: 4.688 kB / 0.9532 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.204e-05/0.5423, allocations: 1.125 kB / 0.9532 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.5423, allocations: 1.281 kB / 0.9532 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.253e-05/0.5423, allocations: 125.9 kB / 0.9533 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5423, allocations: 0 / 0.9533 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001815/0.5425, allocations: 7.812 kB / 0.9533 GB, free: 5.195 MB / 0.7169 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.0002024/0.5427, allocations: 0.6212 MB / 0.9539 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.338e-05/0.5428, allocations: 15.31 kB / 0.9539 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5428, allocations: 0 / 0.9539 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.909e-06/0.5428, allocations: 11.94 kB / 0.954 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.543, allocations: 8.312 kB / 0.954 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008097/0.5438, allocations: 1.354 MB / 0.9553 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.313e-05/0.5439, allocations: 0.695 MB / 0.956 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.292e-05/0.5439, allocations: 9.328 kB / 0.956 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/0.544, allocations: 23.47 kB / 0.956 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.544, allocations: 0 / 0.956 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.397/1.941, allocations: 1.423 MB / 0.9574 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/1.942, allocations: 209.7 kB / 0.9576 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/3.441, allocations: 0 / 0.9576 GB, free: 1.586 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches