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.001188/0.001188, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001244/0.001244, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.865/0.865, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.711/1.711, allocations: 377.9 MB / 0.6221 GB, free: 8.637 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.AirToOutlet,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.981 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.041e-05, allocations: 2.281 kB / 0.981 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.5774/0.5774, allocations: 150.4 MB / 1.128 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004371/0.5818, allocations: 5.47 MB / 1.133 GB, free: 7.715 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000323/0.5821, allocations: 14.5 kB / 1.133 GB, free: 7.707 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005658/0.5827, allocations: 193.8 kB / 1.133 GB, free: 7.582 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003743/0.583, allocations: 99.73 kB / 1.133 GB, free: 7.516 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.5843, allocations: 0.528 MB / 1.134 GB, free: 7.254 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0005224/0.5848, allocations: 429 kB / 1.134 GB, free: 7.055 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.5851, allocations: 88.86 kB / 1.135 GB, free: 7.004 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003374/0.5854, allocations: 251.8 kB / 1.135 GB, free: 6.898 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.5856, allocations: 125.6 kB / 1.135 GB, free: 6.863 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.5856, allocations: 16.62 kB / 1.135 GB, free: 6.863 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007087/0.5863, allocations: 385.2 kB / 1.135 GB, free: 6.715 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 9.724e-05/0.5864, allocations: 75.03 kB / 1.135 GB, free: 6.676 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.5865, allocations: 68.31 kB / 1.135 GB, free: 6.648 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005632/0.5871, allocations: 468.7 kB / 1.136 GB, free: 6.496 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5871, allocations: 0 / 1.136 GB, free: 6.496 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5871, allocations: 4 kB / 1.136 GB, free: 6.492 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.5871, allocations: 0 / 1.136 GB, free: 6.492 MB / 0.9948 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.0004566/0.5875, allocations: 458.8 kB / 1.136 GB, free: 6.109 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.5876, allocations: 10.73 kB / 1.136 GB, free: 6.109 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.5876, allocations: 59.7 kB / 1.136 GB, free: 6.055 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/0.5878, allocations: 50.66 kB / 1.136 GB, free: 6.035 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.5882, allocations: 198.5 kB / 1.137 GB, free: 5.871 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.5883, allocations: 238.9 kB / 1.137 GB, free: 5.609 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.5884, allocations: 27.44 kB / 1.137 GB, free: 5.598 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.5887, allocations: 292.4 kB / 1.137 GB, free: 5.41 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.5887, allocations: 0.6562 kB / 1.137 GB, free: 5.41 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.5887, allocations: 14.88 kB / 1.137 GB, free: 5.398 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.5887, allocations: 6.719 kB / 1.137 GB, free: 5.398 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.589, allocations: 153.6 kB / 1.137 GB, free: 5.352 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007826/0.5898, allocations: 1.519 MB / 1.139 GB, free: 3.961 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.954e-05/0.5898, allocations: 170.5 kB / 1.139 GB, free: 3.785 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.289e-05/0.5898, allocations: 81.52 kB / 1.139 GB, free: 3.703 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.308e-06/0.5898, allocations: 79.28 kB / 1.139 GB, free: 3.625 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.5898, allocations: 108 kB / 1.139 GB, free: 3.512 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 2.485e-06/0.5898, allocations: 1.375 kB / 1.139 GB, free: 3.512 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 6.979e-05/0.5899, allocations: 46.55 kB / 1.139 GB, free: 3.469 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.5899, allocations: 135.5 kB / 1.139 GB, free: 3.328 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.5902, allocations: 318.6 kB / 1.14 GB, free: 3.16 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-06/0.5902, allocations: 25.7 kB / 1.14 GB, free: 3.129 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.625e-05/0.5903, allocations: 201.6 kB / 1.14 GB, free: 2.953 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.362e-06/0.5903, allocations: 2.688 kB / 1.14 GB, free: 2.953 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-05/0.5903, allocations: 48.3 kB / 1.14 GB, free: 2.918 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.04e-05/0.5904, allocations: 328.9 kB / 1.14 GB, free: 2.598 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.214e-05/0.5904, allocations: 39.89 kB / 1.14 GB, free: 2.586 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.5905, allocations: 165.8 kB / 1.14 GB, free: 2.406 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.5907, allocations: 193.1 kB / 1.141 GB, free: 2.207 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.5907, allocations: 1.375 kB / 1.141 GB, free: 2.207 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002835/0.591, allocations: 219.8 kB / 1.141 GB, free: 2.102 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.591, allocations: 7.484 kB / 1.141 GB, free: 2.102 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.591, allocations: 4.375 kB / 1.141 GB, free: 2.102 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.591, allocations: 6.469 kB / 1.141 GB, free: 2.102 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.5911, allocations: 41.53 kB / 1.141 GB, free: 2.094 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.5911, allocations: 7.656 kB / 1.141 GB, free: 2.094 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.24e-05/0.5912, allocations: 33.8 kB / 1.141 GB, free: 2.07 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.5912, allocations: 10.75 kB / 1.141 GB, free: 2.07 MB / 0.9948 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 7.283e-05/0.5913, allocations: 222.6 kB / 1.141 GB, free: 1.859 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.5913, allocations: 123.1 kB / 1.141 GB, free: 1.742 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/0.5914, allocations: 125 kB / 1.141 GB, free: 1.629 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.5914, allocations: 178 kB / 1.142 GB, free: 1.449 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.5914, allocations: 186.4 kB / 1.142 GB, free: 1.262 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.5914, allocations: 178.4 kB / 1.142 GB, free: 1.082 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.5916, allocations: 444.9 kB / 1.142 GB, free: 0.6484 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.5916, allocations: 102.8 kB / 1.142 GB, free: 0.543 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.866e-06/0.5916, allocations: 106.8 kB / 1.143 GB, free: 444 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.489e-05/0.5916, allocations: 184.9 kB / 1.143 GB, free: 256 kB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.5916, allocations: 182.4 kB / 1.143 GB, free: 68 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.537e-05/0.5917, allocations: 186.1 kB / 1.143 GB, free: 15.88 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.412e-05/0.5917, allocations: 186.4 kB / 1.143 GB, free: 15.69 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.5919, allocations: 322.3 kB / 1.144 GB, free: 15.37 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.715e-05/0.5919, allocations: 125.8 kB / 1.144 GB, free: 15.25 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.492e-05/0.592, allocations: 183.3 kB / 1.144 GB, free: 15.07 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.505e-05/0.5921, allocations: 103 kB / 1.144 GB, free: 14.96 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.5921, allocations: 186.7 kB / 1.144 GB, free: 14.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.5921, allocations: 109.3 kB / 1.144 GB, free: 14.66 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001795/0.5923, allocations: 216.8 kB / 1.144 GB, free: 14.54 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.5923, allocations: 0 / 1.144 GB, free: 14.54 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002885/0.5926, allocations: 56.02 kB / 1.144 GB, free: 14.53 MB / 1.01 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.0004694/0.5931, allocations: 0.8507 MB / 1.145 GB, free: 13.7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001902/0.5933, allocations: 80.19 kB / 1.145 GB, free: 13.68 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5933, allocations: 0 / 1.145 GB, free: 13.68 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 2.305e-06/0.5933, allocations: 3.938 kB / 1.145 GB, free: 13.67 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.5937, allocations: 492.3 kB / 1.146 GB, free: 13.21 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.5959, allocations: 2.505 MB / 1.148 GB, free: 11.23 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.596, allocations: 131.3 kB / 1.148 GB, free: 11.15 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.5961, allocations: 36.75 kB / 1.148 GB, free: 11.14 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.931e-05/0.5962, allocations: 56.58 kB / 1.149 GB, free: 11.11 MB / 1.01 GB Notification: Performance of SimCode: time 1.122e-06/0.5962, allocations: 0 / 1.149 GB, free: 11.11 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/0.623, allocations: 4.751 MB / 1.153 GB, free: 9.973 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.696/7.319, allocations: 4.719 kB / 1.153 GB, free: 9.973 MB / 1.01 GB " [Timeout remaining time 293] (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/jenkins/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: 11.323255837894976]