Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8793/0.8793, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.702/1.702, allocations: 377.8 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.981 GB, free: 1.395 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/2.003e-05, allocations: 2.281 kB / 0.981 GB, free: 1.391 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.6115/0.6115, allocations: 130.7 MB / 1.109 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003461/0.615, allocations: 4.299 MB / 1.113 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002867/0.6153, allocations: 10.25 kB / 1.113 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004749/0.6157, allocations: 173.5 kB / 1.113 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.6161, allocations: 97.28 kB / 1.113 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.6162, allocations: 64.44 kB / 1.113 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.6166, allocations: 308.4 kB / 1.113 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005914/0.6172, allocations: 102.5 kB / 1.114 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.6174, allocations: 162.7 kB / 1.114 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.6175, allocations: 132.9 kB / 1.114 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.6176, allocations: 23.05 kB / 1.114 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 2.435e-05/0.6176, allocations: 21.41 kB / 1.114 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.409e-05/0.6177, allocations: 63.75 kB / 1.114 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.827e-05/0.6177, allocations: 69.31 kB / 1.114 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.618, allocations: 236.4 kB / 1.114 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.618, allocations: 3.094 kB / 1.114 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.623e-06/0.618, allocations: 0 / 1.114 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.618, allocations: 1.469 kB / 1.114 GB, free: 6.758 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0003896/0.6184, allocations: 409.8 kB / 1.115 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.6184, allocations: 9.25 kB / 1.115 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.861e-05/0.6185, allocations: 60.62 kB / 1.115 GB, free: 6.352 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.6185, allocations: 32.92 kB / 1.115 GB, free: 6.336 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.6188, allocations: 208.5 kB / 1.115 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.6188, allocations: 18.41 kB / 1.115 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.6189, allocations: 24.83 kB / 1.115 GB, free: 6.145 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.6192, allocations: 299.8 kB / 1.115 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.6192, allocations: 1.656 kB / 1.115 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.6192, allocations: 18.88 kB / 1.115 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.6192, allocations: 7.344 kB / 1.115 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.6193, allocations: 123.9 kB / 1.115 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009842/0.6203, allocations: 1.886 MB / 1.117 GB, free: 4.066 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.794e-05/0.6204, allocations: 171.7 kB / 1.117 GB, free: 3.891 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.6204, allocations: 80.14 kB / 1.117 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.6205, allocations: 78.38 kB / 1.118 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.6205, allocations: 111.2 kB / 1.118 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.6205, allocations: 7.938 kB / 1.118 GB, free: 3.609 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 7.462e-05/0.6206, allocations: 55.56 kB / 1.118 GB, free: 3.562 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.6206, allocations: 131.8 kB / 1.118 GB, free: 3.422 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.6209, allocations: 340.8 kB / 1.118 GB, free: 3.242 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.6209, allocations: 25.7 kB / 1.118 GB, free: 3.211 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.032e-05/0.621, allocations: 158.9 kB / 1.118 GB, free: 3.074 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-06/0.621, allocations: 0 / 1.118 GB, free: 3.074 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.6211, allocations: 26.2 kB / 1.118 GB, free: 3.051 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.923e-05/0.6211, allocations: 332.3 kB / 1.119 GB, free: 2.73 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.6212, allocations: 10.8 kB / 1.119 GB, free: 2.727 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.564e-05/0.6212, allocations: 58.36 kB / 1.119 GB, free: 2.656 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.282e-05/0.6213, allocations: 71.03 kB / 1.119 GB, free: 2.578 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6213, allocations: 0.75 kB / 1.119 GB, free: 2.578 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001532/0.6214, allocations: 114.2 kB / 1.119 GB, free: 2.504 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.6214, allocations: 7.781 kB / 1.119 GB, free: 2.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.6214, allocations: 2.281 kB / 1.119 GB, free: 2.504 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.6215, allocations: 2.25 kB / 1.119 GB, free: 2.504 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.606e-05/0.6215, allocations: 17.78 kB / 1.119 GB, free: 2.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.6215, allocations: 9.844 kB / 1.119 GB, free: 2.496 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.6216, allocations: 22.41 kB / 1.119 GB, free: 2.48 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.6216, allocations: 4.656 kB / 1.119 GB, free: 2.48 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.000101/0.6217, allocations: 216.9 kB / 1.119 GB, free: 2.273 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.116e-05/0.6217, allocations: 126.7 kB / 1.119 GB, free: 2.156 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.6218, allocations: 125.5 kB / 1.119 GB, free: 2.039 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.412e-05/0.6218, allocations: 183.3 kB / 1.12 GB, free: 1.855 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.307e-05/0.6219, allocations: 177.2 kB / 1.12 GB, free: 1.676 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-05/0.6219, allocations: 188.9 kB / 1.12 GB, free: 1.488 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.6221, allocations: 437.8 kB / 1.12 GB, free: 1.059 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.717e-05/0.6222, allocations: 105.8 kB / 1.12 GB, free: 0.9492 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.6222, allocations: 106.1 kB / 1.121 GB, free: 0.8398 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.344e-05/0.6222, allocations: 179.7 kB / 1.121 GB, free: 0.6602 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.6223, allocations: 182.3 kB / 1.121 GB, free: 488 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.926e-05/0.6223, allocations: 181.6 kB / 1.121 GB, free: 300 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-05/0.6224, allocations: 181.5 kB / 1.121 GB, free: 112 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.6225, allocations: 329.2 kB / 1.122 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.6226, allocations: 142.6 kB / 1.122 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.008e-05/0.6226, allocations: 182.6 kB / 1.122 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.6229, allocations: 111.5 kB / 1.122 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.623, allocations: 181.5 kB / 1.122 GB, free: 15.17 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.623, allocations: 101.8 kB / 1.122 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001727/0.6232, allocations: 239.7 kB / 1.122 GB, free: 14.94 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.6232, allocations: 0 / 1.122 GB, free: 14.94 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001918/0.6234, allocations: 23.88 kB / 1.123 GB, free: 14.94 MB / 0.9792 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.0002879/0.6236, allocations: 0.8347 MB / 1.123 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 7.99e-05/0.6237, allocations: 19.14 kB / 1.123 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6237, allocations: 0 / 1.123 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-06/0.6237, allocations: 3.938 kB / 1.123 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/0.6242, allocations: 0.5225 MB / 1.124 GB, free: 13.63 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.6263, allocations: 2.533 MB / 1.126 GB, free: 11.8 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.6265, allocations: 132.6 kB / 1.126 GB, free: 11.72 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001102/0.6266, allocations: 30.98 kB / 1.126 GB, free: 11.71 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.596e-05/0.6267, allocations: 59.09 kB / 1.127 GB, free: 11.67 MB / 0.9792 GB Notification: Performance of SimCode: time 1.132e-06/0.6267, allocations: 0 / 1.127 GB, free: 11.67 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.6479, allocations: 5.736 MB / 1.132 GB, free: 9.723 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.973/7.62, allocations: 10.89 kB / 1.132 GB, free: 9.715 MB / 0.9792 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.563920407555997]