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.001787/0.001787, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 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.002306/0.002306, allocations: 217.8 kB / 22.25 MB, free: 5.105 MB / 14.72 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 1.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.172/3.172, allocations: 0.49 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 66.59 kB / 1.154 GB, free: 25.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3475, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1732/0.5208, allocations: 130.8 MB / 1.454 GB, free: 14.23 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005148/0.5259, allocations: 4.361 MB / 1.458 GB, free: 9.855 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002407/0.5262, allocations: 15.81 kB / 1.458 GB, free: 9.84 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0004811/0.5267, allocations: 166.9 kB / 1.458 GB, free: 9.676 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.527, allocations: 91.44 kB / 1.458 GB, free: 9.586 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.5271, allocations: 67.86 kB / 1.458 GB, free: 9.52 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.000374/0.5275, allocations: 302.8 kB / 1.458 GB, free: 9.223 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002632/0.5277, allocations: 100.5 kB / 1.459 GB, free: 9.129 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.5279, allocations: 115.5 kB / 1.459 GB, free: 9.016 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.5282, allocations: 159.4 kB / 1.459 GB, free: 8.859 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.5282, allocations: 16 kB / 1.459 GB, free: 8.844 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 3.184e-05/0.5282, allocations: 19.94 kB / 1.459 GB, free: 8.824 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 9.593e-05/0.5283, allocations: 63.81 kB / 1.459 GB, free: 8.762 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.5285, allocations: 91.55 kB / 1.459 GB, free: 8.672 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.5288, allocations: 230.9 kB / 1.459 GB, free: 8.445 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5288, allocations: 4 kB / 1.459 GB, free: 8.441 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5288, allocations: 0 / 1.459 GB, free: 8.441 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.5288, allocations: 0 / 1.459 GB, free: 8.441 MB / 1.154 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.0006606/0.5295, allocations: 429.7 kB / 1.46 GB, free: 7.992 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.5295, allocations: 8.031 kB / 1.46 GB, free: 7.984 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.609e-05/0.5296, allocations: 54.73 kB / 1.46 GB, free: 7.922 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.5297, allocations: 24.8 kB / 1.46 GB, free: 7.898 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.5301, allocations: 215.1 kB / 1.46 GB, free: 7.664 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.5302, allocations: 12.81 kB / 1.46 GB, free: 7.652 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.5302, allocations: 24.38 kB / 1.46 GB, free: 7.629 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/0.5307, allocations: 308.8 kB / 1.46 GB, free: 7.27 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.5307, allocations: 0 / 1.46 GB, free: 7.27 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.5307, allocations: 8 kB / 1.46 GB, free: 7.262 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.5307, allocations: 7.984 kB / 1.46 GB, free: 7.254 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.5309, allocations: 131.7 kB / 1.46 GB, free: 7.125 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.5325, allocations: 1.9 MB / 1.462 GB, free: 5.125 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.5326, allocations: 165.1 kB / 1.462 GB, free: 4.953 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.453e-05/0.5327, allocations: 84.14 kB / 1.462 GB, free: 4.867 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 4.641e-05/0.5327, allocations: 79.28 kB / 1.463 GB, free: 4.789 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.973e-05/0.5328, allocations: 109.8 kB / 1.463 GB, free: 4.672 MB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.5328, allocations: 0 / 1.463 GB, free: 4.672 MB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 0.0001096/0.5329, allocations: 57.44 kB / 1.463 GB, free: 4.609 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/0.533, allocations: 126.7 kB / 1.463 GB, free: 4.473 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.5333, allocations: 340.5 kB / 1.463 GB, free: 4.125 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.5334, allocations: 25.7 kB / 1.463 GB, free: 4.094 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.5335, allocations: 159.9 kB / 1.463 GB, free: 3.934 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.859e-06/0.5335, allocations: 3.984 kB / 1.463 GB, free: 3.93 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.5335, allocations: 21.72 kB / 1.463 GB, free: 3.902 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.5337, allocations: 330.8 kB / 1.464 GB, free: 3.57 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/0.5337, allocations: 12 kB / 1.464 GB, free: 3.559 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.897e-05/0.5338, allocations: 58.84 kB / 1.464 GB, free: 3.477 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.931e-05/0.5339, allocations: 78.78 kB / 1.464 GB, free: 3.375 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5339, allocations: 3.938 kB / 1.464 GB, free: 3.371 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001794/0.534, allocations: 101.4 kB / 1.464 GB, free: 3.266 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.5341, allocations: 10.27 kB / 1.464 GB, free: 3.258 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.5341, allocations: 15.88 kB / 1.464 GB, free: 3.242 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.5341, allocations: 0 / 1.464 GB, free: 3.242 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.121e-05/0.5341, allocations: 12 kB / 1.464 GB, free: 3.23 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.5341, allocations: 4 kB / 1.464 GB, free: 3.227 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.272e-05/0.5342, allocations: 31.67 kB / 1.464 GB, free: 3.195 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-06/0.5342, allocations: 4 kB / 1.464 GB, free: 3.191 MB / 1.154 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.0001475/0.5344, allocations: 213.6 kB / 1.464 GB, free: 2.973 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.532e-05/0.5345, allocations: 128.8 kB / 1.464 GB, free: 2.84 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.773e-05/0.5346, allocations: 129.8 kB / 1.464 GB, free: 2.703 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-05/0.5346, allocations: 184.2 kB / 1.465 GB, free: 2.516 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.68e-05/0.5347, allocations: 184.2 kB / 1.465 GB, free: 2.328 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.06e-05/0.5348, allocations: 176.4 kB / 1.465 GB, free: 2.148 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003232/0.5351, allocations: 444.2 kB / 1.465 GB, free: 1.664 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.838e-05/0.5352, allocations: 104.9 kB / 1.466 GB, free: 1.555 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.5352, allocations: 101 kB / 1.466 GB, free: 1.449 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-05/0.5353, allocations: 184.2 kB / 1.466 GB, free: 1.262 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.635e-05/0.5354, allocations: 180.2 kB / 1.466 GB, free: 1.078 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.833e-05/0.5355, allocations: 184.2 kB / 1.466 GB, free: 0.8906 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.502e-05/0.5355, allocations: 184.2 kB / 1.466 GB, free: 0.7031 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.5357, allocations: 323.6 kB / 1.467 GB, free: 372 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-05/0.5358, allocations: 136.8 kB / 1.467 GB, free: 228 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.5359, allocations: 180.2 kB / 1.467 GB, free: 40 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.5361, allocations: 108.9 kB / 1.467 GB, free: 15.93 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.5361, allocations: 184.2 kB / 1.467 GB, free: 15.74 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.221e-05/0.5362, allocations: 104.9 kB / 1.467 GB, free: 15.63 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002388/0.5364, allocations: 239 kB / 1.468 GB, free: 15.4 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.5364, allocations: 0 / 1.468 GB, free: 15.4 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002612/0.5367, allocations: 27.95 kB / 1.468 GB, free: 15.37 MB / 1.17 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.0004804/0.5372, allocations: 0.8281 MB / 1.468 GB, free: 14.52 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 8.407e-05/0.5373, allocations: 27.88 kB / 1.468 GB, free: 14.49 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5373, allocations: 0 / 1.468 GB, free: 14.49 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.5373, allocations: 0 / 1.468 GB, free: 14.49 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007308/0.538, allocations: 0.5258 MB / 1.469 GB, free: 13.96 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.5405, allocations: 2.51 MB / 1.471 GB, free: 11.33 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.5407, allocations: 133.6 kB / 1.471 GB, free: 11.18 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 8.513e-05/0.5408, allocations: 30.28 kB / 1.472 GB, free: 11.15 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.275e-05/0.5408, allocations: 63.42 kB / 1.472 GB, free: 11.09 MB / 1.17 GB Notification: Performance of SimCode: time 3.71e-07/0.5408, allocations: 0 / 1.472 GB, free: 11.09 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03295/0.5738, allocations: 5.664 MB / 1.477 GB, free: 5.625 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.9, allocations: 9.641 kB / 1.477 GB, free: 5.617 MB / 1.17 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.58446412702324]