Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_latest_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.004926/0.004926, allocations: 101.2 kB / 15.73 MB, free: 5.988 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.00141/0.00141, allocations: 188 kB / 16.67 MB, free: 5.914 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.53/2.53, allocations: 482.6 MB / 0.755 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 63.91 kB / 1.083 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2672, allocations: 162.3 MB / 1.242 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.6406/0.9078, allocations: 174 MB / 1.412 GB, free: 2.629 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.009147/0.917, allocations: 9.522 MB / 1.421 GB, free: 10.91 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.9173, allocations: 10.53 kB / 1.421 GB, free: 10.91 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0004629/0.9178, allocations: 189.9 kB / 1.421 GB, free: 10.74 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.918, allocations: 87.84 kB / 1.421 GB, free: 10.67 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.9181, allocations: 68.75 kB / 1.421 GB, free: 10.61 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0003444/0.9185, allocations: 320.7 kB / 1.422 GB, free: 10.43 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/0.9188, allocations: 197.6 kB / 1.422 GB, free: 10.32 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/0.9191, allocations: 172.6 kB / 1.422 GB, free: 10.22 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.9192, allocations: 121.8 kB / 1.422 GB, free: 10.14 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.9193, allocations: 21.16 kB / 1.422 GB, free: 10.14 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 3.581e-05/0.9193, allocations: 22.56 kB / 1.422 GB, free: 10.14 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 8.45e-05/0.9194, allocations: 76.2 kB / 1.422 GB, free: 10.09 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.9195, allocations: 129.3 kB / 1.423 GB, free: 10 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.9198, allocations: 294 kB / 1.423 GB, free: 9.789 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.9199, allocations: 3.938 kB / 1.423 GB, free: 9.785 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9199, allocations: 0 / 1.423 GB, free: 9.785 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.9199, allocations: 1.344 kB / 1.423 GB, free: 9.785 MB / 1.123 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.0005008/0.9204, allocations: 0.5223 MB / 1.423 GB, free: 9.281 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.9204, allocations: 9.875 kB / 1.423 GB, free: 9.281 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.264e-05/0.9205, allocations: 58.89 kB / 1.423 GB, free: 9.223 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.9205, allocations: 45.3 kB / 1.423 GB, free: 9.195 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.9209, allocations: 268.7 kB / 1.424 GB, free: 8.93 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.9209, allocations: 23.47 kB / 1.424 GB, free: 8.918 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.9209, allocations: 24.59 kB / 1.424 GB, free: 8.91 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004202/0.9214, allocations: 326.9 kB / 1.424 GB, free: 8.648 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.9214, allocations: 1.094 kB / 1.424 GB, free: 8.648 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.9214, allocations: 11.16 kB / 1.424 GB, free: 8.641 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.9214, allocations: 11.91 kB / 1.424 GB, free: 8.637 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.9216, allocations: 146.3 kB / 1.424 GB, free: 8.562 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.9229, allocations: 1.823 MB / 1.426 GB, free: 6.801 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 8.613e-05/0.923, allocations: 178.5 kB / 1.426 GB, free: 6.617 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.51e-05/0.923, allocations: 80.14 kB / 1.426 GB, free: 6.535 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.9231, allocations: 80.59 kB / 1.426 GB, free: 6.457 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/0.9231, allocations: 105.8 kB / 1.426 GB, free: 6.344 MB / 1.123 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.9231, allocations: 0 / 1.426 GB, free: 6.344 MB / 1.123 GB Notification: Performance of matching and sorting (n=0): time 7.7e-05/0.9232, allocations: 59.27 kB / 1.426 GB, free: 6.293 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.9233, allocations: 126.7 kB / 1.427 GB, free: 6.156 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003583/0.9236, allocations: 373.4 kB / 1.427 GB, free: 5.926 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.9236, allocations: 25.7 kB / 1.427 GB, free: 5.895 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.9238, allocations: 170.7 kB / 1.427 GB, free: 5.738 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-06/0.9238, allocations: 3.938 kB / 1.427 GB, free: 5.734 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.9238, allocations: 22.78 kB / 1.427 GB, free: 5.711 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.924, allocations: 341.2 kB / 1.427 GB, free: 5.375 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.22e-05/0.924, allocations: 2.5 kB / 1.427 GB, free: 5.375 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-05/0.924, allocations: 38.78 kB / 1.428 GB, free: 5.328 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.206e-05/0.9241, allocations: 45.42 kB / 1.428 GB, free: 5.277 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9241, allocations: 0 / 1.428 GB, free: 5.277 MB / 1.123 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001395/0.9242, allocations: 96.22 kB / 1.428 GB, free: 5.207 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 9.759e-06/0.9242, allocations: 5.062 kB / 1.428 GB, free: 5.207 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.9242, allocations: 2.656 kB / 1.428 GB, free: 5.207 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.9243, allocations: 1.562 kB / 1.428 GB, free: 5.207 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.923e-05/0.9243, allocations: 11.11 kB / 1.428 GB, free: 5.203 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.9243, allocations: 5.406 kB / 1.428 GB, free: 5.199 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.389e-05/0.9244, allocations: 28.05 kB / 1.428 GB, free: 5.18 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.9244, allocations: 3.844 kB / 1.428 GB, free: 5.18 MB / 1.123 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.0001309/0.9245, allocations: 210.7 kB / 1.428 GB, free: 4.977 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.28e-05/0.9246, allocations: 138.3 kB / 1.428 GB, free: 4.848 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.283e-05/0.9247, allocations: 129.2 kB / 1.428 GB, free: 4.723 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-05/0.9248, allocations: 184.2 kB / 1.428 GB, free: 4.535 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.941e-05/0.9248, allocations: 185.5 kB / 1.429 GB, free: 4.348 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.73e-05/0.9249, allocations: 177.5 kB / 1.429 GB, free: 4.168 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.9252, allocations: 490.9 kB / 1.429 GB, free: 3.664 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.929e-05/0.9253, allocations: 106.3 kB / 1.429 GB, free: 3.555 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/0.9253, allocations: 106.4 kB / 1.429 GB, free: 3.445 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.338e-05/0.9254, allocations: 188.3 kB / 1.43 GB, free: 3.254 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.854e-05/0.9255, allocations: 185.6 kB / 1.43 GB, free: 3.066 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-05/0.9256, allocations: 181.3 kB / 1.43 GB, free: 2.883 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.578e-05/0.9256, allocations: 177.5 kB / 1.43 GB, free: 2.703 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.9258, allocations: 331.2 kB / 1.43 GB, free: 2.371 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.9259, allocations: 214.2 kB / 1.431 GB, free: 2.145 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.266e-05/0.926, allocations: 185.3 kB / 1.431 GB, free: 1.957 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.917e-05/0.9261, allocations: 102.2 kB / 1.431 GB, free: 1.852 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.9262, allocations: 180.2 kB / 1.431 GB, free: 1.668 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/0.9262, allocations: 102 kB / 1.431 GB, free: 1.562 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002409/0.9265, allocations: 275.9 kB / 1.431 GB, free: 1.391 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.733e-06/0.9265, allocations: 0 / 1.431 GB, free: 1.391 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002326/0.9267, allocations: 35.97 kB / 1.431 GB, free: 1.383 MB / 1.123 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.0004033/0.9271, allocations: 0.8379 MB / 1.432 GB, free: 0.5508 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 5.966e-05/0.9272, allocations: 20.97 kB / 1.432 GB, free: 0.5391 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.9272, allocations: 0 / 1.432 GB, free: 0.5391 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.9272, allocations: 1.188 kB / 1.432 GB, free: 0.5391 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000747/0.928, allocations: 0.5536 MB / 1.433 GB, free: 36 kB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.9305, allocations: 2.696 MB / 1.435 GB, free: 14 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.9308, allocations: 0.7541 MB / 1.436 GB, free: 13.26 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 8.273e-05/0.9309, allocations: 28.41 kB / 1.436 GB, free: 13.25 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.67e-05/0.931, allocations: 71.2 kB / 1.436 GB, free: 13.2 MB / 1.139 GB Notification: Performance of SimCode: time 2.51e-07/0.931, allocations: 4 kB / 1.436 GB, free: 13.19 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.414/3.345, allocations: 5.927 MB / 1.442 GB, free: 9.672 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.69/23.04, allocations: 7.609 kB / 1.442 GB, free: 9.668 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches