Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.InletToAirMoistAirCO2,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.007144/0.007144, allocations: 100.4 kB / 15.73 MB, free: 5.953 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.00213/0.00213, allocations: 190.1 kB / 16.67 MB, free: 5.875 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.166/1.166, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.101/2.101, allocations: 437.1 MB / 0.7106 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 67.89 kB / 1.018 GB, free: 9.84 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5743/0.5759, allocations: 151.6 MB / 1.166 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1729/0.7488, allocations: 174.1 MB / 1.336 GB, free: 4.992 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009082/0.7579, allocations: 9.509 MB / 1.345 GB, free: 11.46 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.7581, allocations: 11.94 kB / 1.345 GB, free: 11.45 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004417/0.7586, allocations: 190.7 kB / 1.346 GB, free: 11.26 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.7588, allocations: 99.3 kB / 1.346 GB, free: 11.16 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.7589, allocations: 59.92 kB / 1.346 GB, free: 11.1 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00035/0.7593, allocations: 322.7 kB / 1.346 GB, free: 10.79 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000311/0.7596, allocations: 208.9 kB / 1.346 GB, free: 10.58 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002813/0.7599, allocations: 171.4 kB / 1.346 GB, free: 10.41 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.7601, allocations: 119.4 kB / 1.347 GB, free: 10.29 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.7601, allocations: 24 kB / 1.347 GB, free: 10.27 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.505e-05/0.7601, allocations: 20 kB / 1.347 GB, free: 10.25 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.254e-05/0.7602, allocations: 71.81 kB / 1.347 GB, free: 10.18 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.7603, allocations: 135.3 kB / 1.347 GB, free: 10.05 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.7606, allocations: 295.5 kB / 1.347 GB, free: 9.758 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7606, allocations: 4 kB / 1.347 GB, free: 9.754 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7606, allocations: 0 / 1.347 GB, free: 9.754 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.7607, allocations: 0 / 1.347 GB, free: 9.754 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004868/0.7611, allocations: 0.5182 MB / 1.348 GB, free: 9.188 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.7612, allocations: 12.62 kB / 1.348 GB, free: 9.176 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.686e-05/0.7612, allocations: 62.53 kB / 1.348 GB, free: 9.105 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.7613, allocations: 35.75 kB / 1.348 GB, free: 9.07 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.7616, allocations: 284.6 kB / 1.348 GB, free: 8.754 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.7617, allocations: 28.56 kB / 1.348 GB, free: 8.727 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.7617, allocations: 24 kB / 1.348 GB, free: 8.703 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/0.7621, allocations: 323.9 kB / 1.348 GB, free: 8.344 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.7621, allocations: 0 / 1.348 GB, free: 8.344 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.7622, allocations: 12 kB / 1.348 GB, free: 8.332 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.7622, allocations: 11.94 kB / 1.348 GB, free: 8.32 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.7624, allocations: 143.7 kB / 1.349 GB, free: 8.18 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.7637, allocations: 1.813 MB / 1.35 GB, free: 6.27 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.643e-05/0.7638, allocations: 177.1 kB / 1.35 GB, free: 6.086 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.677e-05/0.7638, allocations: 84.08 kB / 1.351 GB, free: 6 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.7638, allocations: 79.28 kB / 1.351 GB, free: 5.922 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.7639, allocations: 106 kB / 1.351 GB, free: 5.809 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.7639, allocations: 3.938 kB / 1.351 GB, free: 5.805 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 7.79e-05/0.764, allocations: 57.5 kB / 1.351 GB, free: 5.742 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.764, allocations: 126.7 kB / 1.351 GB, free: 5.605 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.7644, allocations: 377.6 kB / 1.351 GB, free: 5.227 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.7644, allocations: 25.7 kB / 1.351 GB, free: 5.195 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.7645, allocations: 171.9 kB / 1.351 GB, free: 5.023 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.7645, allocations: 0 / 1.351 GB, free: 5.023 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.7646, allocations: 17.72 kB / 1.351 GB, free: 5 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.7647, allocations: 338.8 kB / 1.352 GB, free: 4.66 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.402e-05/0.7647, allocations: 7.984 kB / 1.352 GB, free: 4.652 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.11e-05/0.7648, allocations: 32.3 kB / 1.352 GB, free: 4.605 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.812e-05/0.7648, allocations: 44.23 kB / 1.352 GB, free: 4.547 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.7648, allocations: 0 / 1.352 GB, free: 4.547 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001345/0.765, allocations: 105.4 kB / 1.352 GB, free: 4.438 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.765, allocations: 4 kB / 1.352 GB, free: 4.434 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.765, allocations: 7.984 kB / 1.352 GB, free: 4.426 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.765, allocations: 0 / 1.352 GB, free: 4.426 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.598e-05/0.7651, allocations: 8 kB / 1.352 GB, free: 4.418 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.7651, allocations: 3.938 kB / 1.352 GB, free: 4.414 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.371e-05/0.7651, allocations: 27.73 kB / 1.352 GB, free: 4.387 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-06/0.7651, allocations: 4 kB / 1.352 GB, free: 4.383 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001308/0.7653, allocations: 217.1 kB / 1.352 GB, free: 4.16 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.863e-05/0.7654, allocations: 132.7 kB / 1.352 GB, free: 4.023 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.857e-05/0.7654, allocations: 134.7 kB / 1.352 GB, free: 3.883 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-05/0.7655, allocations: 184.2 kB / 1.353 GB, free: 3.695 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.695e-05/0.7656, allocations: 180.3 kB / 1.353 GB, free: 3.512 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.886e-05/0.7657, allocations: 180.2 kB / 1.353 GB, free: 3.328 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.766, allocations: 493 kB / 1.353 GB, free: 2.789 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-05/0.766, allocations: 105 kB / 1.354 GB, free: 2.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.7661, allocations: 108.9 kB / 1.354 GB, free: 2.566 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.744e-05/0.7661, allocations: 180.2 kB / 1.354 GB, free: 2.383 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.7662, allocations: 180.3 kB / 1.354 GB, free: 2.199 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.676e-05/0.7663, allocations: 188.3 kB / 1.354 GB, free: 2.008 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-05/0.7663, allocations: 180.3 kB / 1.354 GB, free: 1.824 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.7665, allocations: 335.5 kB / 1.355 GB, free: 1.473 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.7666, allocations: 213.8 kB / 1.355 GB, free: 1.238 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.687e-05/0.7667, allocations: 180.5 kB / 1.355 GB, free: 1.055 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.7668, allocations: 105 kB / 1.355 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.7669, allocations: 188.2 kB / 1.355 GB, free: 0.7539 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.767, allocations: 105 kB / 1.355 GB, free: 0.6445 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002537/0.7672, allocations: 267.2 kB / 1.356 GB, free: 396 kB / 1.076 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7672, allocations: 0 / 1.356 GB, free: 396 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002292/0.7675, allocations: 31.94 kB / 1.356 GB, free: 364 kB / 1.076 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.0004561/0.7679, allocations: 0.8398 MB / 1.357 GB, free: 15.48 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 6.385e-05/0.768, allocations: 23.92 kB / 1.357 GB, free: 15.46 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.768, allocations: 0 / 1.357 GB, free: 15.46 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.768, allocations: 0 / 1.357 GB, free: 15.46 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007415/0.7688, allocations: 0.548 MB / 1.357 GB, free: 14.91 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.7714, allocations: 2.688 MB / 1.36 GB, free: 12.12 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.7717, allocations: 0.7596 MB / 1.36 GB, free: 11.33 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 8.598e-05/0.7718, allocations: 30.97 kB / 1.361 GB, free: 11.3 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.505e-05/0.7719, allocations: 75.41 kB / 1.361 GB, free: 11.23 MB / 1.092 GB Notification: Performance of SimCode: time 2.41e-07/0.7719, allocations: 4 kB / 1.361 GB, free: 11.23 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5073/1.279, allocations: 5.903 MB / 1.366 GB, free: 5.488 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.597/10.88, allocations: 9.359 kB / 1.366 GB, free: 5.484 MB / 1.092 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches