Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.001262/0.001262, 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.001235/0.001235, allocations: 199 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.264/1.264, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.395/2.395, allocations: 437 MB / 0.7099 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.91 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4746/0.4758, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1376/0.6134, allocations: 145.8 MB / 1.159 GB, free: 488 kB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004545/0.618, allocations: 4.607 MB / 1.164 GB, free: 11.86 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002489/0.6183, allocations: 11.94 kB / 1.164 GB, free: 11.84 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004629/0.6188, allocations: 127.2 kB / 1.164 GB, free: 11.72 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.6191, allocations: 87.55 kB / 1.164 GB, free: 11.63 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.6192, allocations: 51.95 kB / 1.164 GB, free: 11.58 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003705/0.6196, allocations: 358.8 kB / 1.164 GB, free: 11.23 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.6198, allocations: 99.52 kB / 1.164 GB, free: 11.12 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.62, allocations: 95.58 kB / 1.164 GB, free: 11.03 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.6202, allocations: 135.5 kB / 1.165 GB, free: 10.9 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.6202, allocations: 8 kB / 1.165 GB, free: 10.89 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.743e-05/0.6203, allocations: 8 kB / 1.165 GB, free: 10.88 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/0.6203, allocations: 23.86 kB / 1.165 GB, free: 10.86 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.049e-05/0.6204, allocations: 71.61 kB / 1.165 GB, free: 10.79 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.6205, allocations: 149.7 kB / 1.165 GB, free: 10.64 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6206, allocations: 3.938 kB / 1.165 GB, free: 10.64 MB / 0.92 GB Notification: Performance of FrontEnd: time 7.72e-07/0.6206, allocations: 4 kB / 1.165 GB, free: 10.64 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.6206, allocations: 0 / 1.165 GB, free: 10.64 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004229/0.621, allocations: 443 kB / 1.165 GB, free: 10.16 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.6211, allocations: 8.031 kB / 1.165 GB, free: 10.15 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.867e-05/0.6211, allocations: 54.73 kB / 1.165 GB, free: 10.09 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.6211, allocations: 20.66 kB / 1.165 GB, free: 10.07 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.6214, allocations: 243.5 kB / 1.165 GB, free: 9.793 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.6214, allocations: 16.12 kB / 1.166 GB, free: 9.777 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.6214, allocations: 16 kB / 1.166 GB, free: 9.762 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.6217, allocations: 204.5 kB / 1.166 GB, free: 9.516 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.6217, allocations: 7.938 kB / 1.166 GB, free: 9.508 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.6217, allocations: 8 kB / 1.166 GB, free: 9.5 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.6218, allocations: 4 kB / 1.166 GB, free: 9.496 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.6219, allocations: 75.78 kB / 1.166 GB, free: 9.422 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000985/0.6229, allocations: 1.59 MB / 1.167 GB, free: 7.734 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.966e-05/0.623, allocations: 169.1 kB / 1.168 GB, free: 7.559 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.623, allocations: 84.08 kB / 1.168 GB, free: 7.473 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.623, allocations: 79.28 kB / 1.168 GB, free: 7.395 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.6231, allocations: 109.8 kB / 1.168 GB, free: 7.277 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.6231, allocations: 0 / 1.168 GB, free: 7.277 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.835e-05/0.6232, allocations: 45.45 kB / 1.168 GB, free: 7.227 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.6232, allocations: 130.7 kB / 1.168 GB, free: 7.086 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.6235, allocations: 242.6 kB / 1.168 GB, free: 6.836 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.6235, allocations: 29.7 kB / 1.168 GB, free: 6.801 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.6236, allocations: 147.7 kB / 1.168 GB, free: 6.652 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.6236, allocations: 0 / 1.168 GB, free: 6.652 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.6236, allocations: 17.72 kB / 1.168 GB, free: 6.629 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.6238, allocations: 330.8 kB / 1.169 GB, free: 6.297 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.6238, allocations: 7.938 kB / 1.169 GB, free: 6.289 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.902e-05/0.6238, allocations: 54 kB / 1.169 GB, free: 6.215 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.047e-05/0.6239, allocations: 61.95 kB / 1.169 GB, free: 6.133 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.6239, allocations: 3.938 kB / 1.169 GB, free: 6.129 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001426/0.6241, allocations: 89.31 kB / 1.169 GB, free: 6.035 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.6241, allocations: 8 kB / 1.169 GB, free: 6.027 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.6241, allocations: 0 / 1.169 GB, free: 6.027 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.6241, allocations: 4 kB / 1.169 GB, free: 6.023 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.251e-05/0.6242, allocations: 11.98 kB / 1.169 GB, free: 6.012 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.6242, allocations: 8.219 kB / 1.169 GB, free: 6.004 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.94e-05/0.6242, allocations: 19.69 kB / 1.169 GB, free: 5.984 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.6243, allocations: 4 kB / 1.169 GB, free: 5.98 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001113/0.6244, allocations: 205.5 kB / 1.169 GB, free: 5.77 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.119e-05/0.6245, allocations: 116.8 kB / 1.169 GB, free: 5.648 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.209e-05/0.6245, allocations: 121.8 kB / 1.169 GB, free: 5.527 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.836e-05/0.6246, allocations: 180.3 kB / 1.17 GB, free: 5.344 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.927e-05/0.6246, allocations: 180.3 kB / 1.17 GB, free: 5.16 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.897e-05/0.6247, allocations: 192.2 kB / 1.17 GB, free: 4.965 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.625, allocations: 457.1 kB / 1.17 GB, free: 4.461 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.25e-05/0.625, allocations: 108.9 kB / 1.17 GB, free: 4.348 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-05/0.6251, allocations: 101 kB / 1.171 GB, free: 4.242 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.484e-05/0.6251, allocations: 184.3 kB / 1.171 GB, free: 4.055 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.264e-05/0.6252, allocations: 184.1 kB / 1.171 GB, free: 3.867 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.778e-05/0.6253, allocations: 180.3 kB / 1.171 GB, free: 3.684 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-05/0.6253, allocations: 184.2 kB / 1.171 GB, free: 3.496 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.6255, allocations: 323.6 kB / 1.172 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.022e-05/0.6256, allocations: 197.8 kB / 1.172 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.389e-05/0.6256, allocations: 176.3 kB / 1.172 GB, free: 2.758 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.679e-05/0.6257, allocations: 108.9 kB / 1.172 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.533e-05/0.6258, allocations: 180.3 kB / 1.172 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.6258, allocations: 101 kB / 1.172 GB, free: 2.355 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001581/0.626, allocations: 186 kB / 1.172 GB, free: 2.176 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.626, allocations: 3.938 kB / 1.172 GB, free: 2.172 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000242/0.6263, allocations: 23.91 kB / 1.172 GB, free: 2.148 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0003716/0.6266, allocations: 0.8283 MB / 1.173 GB, free: 1.293 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.056e-05/0.6267, allocations: 23.94 kB / 1.173 GB, free: 1.27 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6267, allocations: 0 / 1.173 GB, free: 1.27 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.6267, allocations: 0 / 1.173 GB, free: 1.27 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006772/0.6274, allocations: 0.5741 MB / 1.174 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.6293, allocations: 2.098 MB / 1.176 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.6295, allocations: 0.7088 MB / 1.177 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.228e-05/0.6296, allocations: 21.53 kB / 1.177 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.751e-05/0.6297, allocations: 43.42 kB / 1.177 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.6297, allocations: 0 / 1.177 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3259/0.9556, allocations: 3.335 MB / 1.18 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/0.9558, allocations: 204.8 kB / 1.18 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.589, allocations: 0 / 1.18 GB, free: 10.22 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches