Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.001729/0.001729, allocations: 119.3 kB / 17.17 MB, free: 5.977 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.001444/0.001444, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.526/1.526, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.912/2.912, allocations: 0.49 GB / 0.7923 GB, free: 1.363 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.AirToOutlet,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="cs",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.002119/0.002119, allocations: 75.81 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9088/0.9109, allocations: 176.1 MB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2216/1.132, allocations: 173.9 MB / 1.491 GB, free: 8.246 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.00776/1.14, allocations: 6.057 MB / 1.497 GB, free: 3.348 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003357/1.141, allocations: 14.72 kB / 1.497 GB, free: 3.34 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006468/1.141, allocations: 185.1 kB / 1.497 GB, free: 3.18 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003334/1.142, allocations: 91.06 kB / 1.497 GB, free: 3.105 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/1.143, allocations: 0.5331 MB / 1.498 GB, free: 2.703 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0006087/1.144, allocations: 412.7 kB / 1.498 GB, free: 2.465 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000255/1.144, allocations: 104.4 kB / 1.498 GB, free: 2.395 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003999/1.144, allocations: 198.1 kB / 1.499 GB, free: 2.281 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/1.144, allocations: 155.1 kB / 1.499 GB, free: 2.188 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/1.144, allocations: 16.34 kB / 1.499 GB, free: 2.188 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009667/1.145, allocations: 0.49 MB / 1.499 GB, free: 1.902 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/1.146, allocations: 73 kB / 1.499 GB, free: 1.852 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/1.146, allocations: 112.9 kB / 1.499 GB, free: 1.773 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0007189/1.146, allocations: 472.1 kB / 1.5 GB, free: 1.488 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.146, allocations: 0 / 1.5 GB, free: 1.488 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.256e-06/1.146, allocations: 3.984 kB / 1.5 GB, free: 1.484 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.222e-06/1.146, allocations: 1.281 kB / 1.5 GB, free: 1.484 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.000693/1.147, allocations: 0.5188 MB / 1.5 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/1.147, allocations: 14.08 kB / 1.5 GB, free: 0.9844 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.762e-05/1.147, allocations: 5.469 kB / 1.5 GB, free: 0.9844 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.045e-05/1.147, allocations: 59.55 kB / 1.501 GB, free: 0.9258 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/1.147, allocations: 45.66 kB / 1.501 GB, free: 0.9062 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/1.148, allocations: 266.2 kB / 1.501 GB, free: 0.6406 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/1.148, allocations: 131.6 kB / 1.501 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/1.148, allocations: 30.59 kB / 1.501 GB, free: 500 kB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004703/1.149, allocations: 290.5 kB / 1.501 GB, free: 264 kB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/1.149, allocations: 12.97 kB / 1.501 GB, free: 252 kB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/1.149, allocations: 10.38 kB / 1.501 GB, free: 244 kB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/1.149, allocations: 6.375 kB / 1.501 GB, free: 244 kB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/1.149, allocations: 159.5 kB / 1.501 GB, free: 168 kB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/1.15, allocations: 1.578 MB / 1.503 GB, free: 14.64 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/1.151, allocations: 174.7 kB / 1.503 GB, free: 14.46 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/1.151, allocations: 84.14 kB / 1.503 GB, free: 14.38 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/1.151, allocations: 79.22 kB / 1.503 GB, free: 14.3 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.899e-05/1.151, allocations: 115 kB / 1.503 GB, free: 14.18 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/1.151, allocations: 0 / 1.503 GB, free: 14.18 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.000109/1.151, allocations: 46.09 kB / 1.503 GB, free: 14.14 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/1.151, allocations: 132.1 kB / 1.504 GB, free: 14 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/1.151, allocations: 310.9 kB / 1.504 GB, free: 13.79 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/1.151, allocations: 25.7 kB / 1.504 GB, free: 13.76 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/1.151, allocations: 194.7 kB / 1.504 GB, free: 13.58 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-06/1.151, allocations: 5.672 kB / 1.504 GB, free: 13.57 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.491e-05/1.152, allocations: 44.75 kB / 1.504 GB, free: 13.54 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.152, allocations: 327.9 kB / 1.504 GB, free: 13.21 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.229e-05/1.152, allocations: 44.16 kB / 1.504 GB, free: 13.19 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/1.152, allocations: 157.2 kB / 1.505 GB, free: 13 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/1.152, allocations: 198.3 kB / 1.505 GB, free: 12.79 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/1.152, allocations: 1.062 kB / 1.505 GB, free: 12.79 MB / 1.186 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000462/1.153, allocations: 225 kB / 1.505 GB, free: 12.66 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.153, allocations: 8.438 kB / 1.505 GB, free: 12.66 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.153, allocations: 5.094 kB / 1.505 GB, free: 12.66 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/1.153, allocations: 5.875 kB / 1.505 GB, free: 12.66 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/1.153, allocations: 41.55 kB / 1.505 GB, free: 12.64 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/1.153, allocations: 14.67 kB / 1.505 GB, free: 12.64 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/1.153, allocations: 33.92 kB / 1.505 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/1.153, allocations: 10.19 kB / 1.505 GB, free: 12.61 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001704/1.153, allocations: 223 kB / 1.505 GB, free: 12.4 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/1.153, allocations: 121.9 kB / 1.505 GB, free: 12.28 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.073e-05/1.154, allocations: 124.3 kB / 1.506 GB, free: 12.16 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.625e-05/1.154, allocations: 189.3 kB / 1.506 GB, free: 11.97 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-05/1.154, allocations: 177.4 kB / 1.506 GB, free: 11.79 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.996e-05/1.154, allocations: 181.8 kB / 1.506 GB, free: 11.61 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003801/1.154, allocations: 480.3 kB / 1.507 GB, free: 11.11 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.456e-05/1.154, allocations: 110.2 kB / 1.507 GB, free: 11 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/1.154, allocations: 114 kB / 1.507 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.934e-05/1.154, allocations: 177.5 kB / 1.507 GB, free: 10.7 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.819e-05/1.154, allocations: 181.3 kB / 1.507 GB, free: 10.52 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.018e-05/1.155, allocations: 177.4 kB / 1.507 GB, free: 10.34 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.954e-05/1.155, allocations: 184.1 kB / 1.507 GB, free: 10.15 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/1.155, allocations: 331.9 kB / 1.508 GB, free: 9.812 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/1.155, allocations: 209.8 kB / 1.508 GB, free: 9.59 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/1.155, allocations: 177.5 kB / 1.508 GB, free: 9.41 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/1.155, allocations: 101 kB / 1.508 GB, free: 9.305 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/1.155, allocations: 189.2 kB / 1.508 GB, free: 9.113 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.606e-05/1.155, allocations: 106.3 kB / 1.509 GB, free: 9.004 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000289/1.156, allocations: 217.8 kB / 1.509 GB, free: 8.863 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/1.156, allocations: 0 / 1.509 GB, free: 8.863 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004495/1.156, allocations: 54.73 kB / 1.509 GB, free: 8.852 MB / 1.186 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.0007173/1.157, allocations: 0.8586 MB / 1.51 GB, free: 7.992 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002519/1.157, allocations: 80.77 kB / 1.51 GB, free: 7.914 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.157, allocations: 4 kB / 1.51 GB, free: 7.91 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/1.157, allocations: 0 / 1.51 GB, free: 7.91 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006255/1.158, allocations: 484.1 kB / 1.51 GB, free: 7.43 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/1.161, allocations: 2.514 MB / 1.513 GB, free: 4.727 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/1.161, allocations: 0.7437 MB / 1.513 GB, free: 3.957 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001393/1.161, allocations: 37.88 kB / 1.513 GB, free: 3.922 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/1.162, allocations: 55.42 kB / 1.513 GB, free: 3.867 MB / 1.186 GB Notification: Performance of SimCode: time 2.91e-07/1.162, allocations: 0 / 1.513 GB, free: 3.867 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/1.183, allocations: 4.083 MB / 1.517 GB, free: 15.89 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.382/9.565, allocations: 18.3 kB / 1.517 GB, free: 15.88 MB / 1.201 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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: 16.005985420022625]