Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.001595/0.001595, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002086/0.002086, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.785/2.785, allocations: 476.7 MB / 0.7707 GB, free: 4.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.AirToOutletFlowReversal,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",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.002058/0.002058, allocations: 62.41 kB / 1.117 GB, free: 39.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.301, allocations: 170 MB / 1.283 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3036/0.6046, allocations: 254.1 MB / 1.532 GB, free: 12.23 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03131/0.6359, allocations: 22.63 MB / 1.554 GB, free: 5.531 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.6377, allocations: 75.38 kB / 1.554 GB, free: 5.457 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.003134/0.6408, allocations: 0.9898 MB / 1.555 GB, free: 4.461 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.004848/0.6456, allocations: 1.537 MB / 1.556 GB, free: 2.922 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.005707/0.6514, allocations: 2.032 MB / 1.558 GB, free: 0.8906 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.00458/0.6559, allocations: 2.705 MB / 1.561 GB, free: 14.17 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002087/0.658, allocations: 0.9619 MB / 1.562 GB, free: 13.18 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003285/0.6613, allocations: 1.386 MB / 1.563 GB, free: 11.79 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001952/0.6633, allocations: 0.965 MB / 1.564 GB, free: 10.82 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0003621/0.6636, allocations: 112 kB / 1.564 GB, free: 10.71 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004231/0.6679, allocations: 1.859 MB / 1.566 GB, free: 8.844 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0006723/0.6685, allocations: 386.7 kB / 1.566 GB, free: 8.465 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.6698, allocations: 0.6338 MB / 1.567 GB, free: 7.828 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.005035/0.6748, allocations: 2.359 MB / 1.569 GB, free: 5.461 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.6749, allocations: 0 / 1.569 GB, free: 5.461 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6749, allocations: 0 / 1.569 GB, free: 5.461 MB / 1.264 GB Notification: Performance of Transformations before backend: time 6.407e-05/0.6749, allocations: 0 / 1.569 GB, free: 5.461 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003118/0.678, allocations: 1.434 MB / 1.571 GB, free: 3.992 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.6781, allocations: 12.03 kB / 1.571 GB, free: 3.98 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002769/0.6784, allocations: 143.5 kB / 1.571 GB, free: 3.832 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.6797, allocations: 235 kB / 1.571 GB, free: 3.602 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/0.6818, allocations: 0.8403 MB / 1.572 GB, free: 2.734 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002804/0.682, allocations: 295.6 kB / 1.572 GB, free: 2.398 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.6822, allocations: 95.94 kB / 1.572 GB, free: 2.305 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.6842, allocations: 0.9324 MB / 1.573 GB, free: 1.336 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.6842, allocations: 3.938 kB / 1.573 GB, free: 1.332 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.6843, allocations: 36 kB / 1.573 GB, free: 1.297 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/0.6844, allocations: 23.94 kB / 1.573 GB, free: 1.273 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.6857, allocations: 0.6285 MB / 1.574 GB, free: 0.6484 MB / 1.264 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006115/0.6918, allocations: 4.375 MB / 1.578 GB, free: 11.88 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.6923, allocations: 174.7 kB / 1.578 GB, free: 11.7 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.6925, allocations: 144.9 kB / 1.578 GB, free: 11.55 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000603/0.6931, allocations: 123.9 kB / 1.579 GB, free: 11.43 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.6931, allocations: 38.5 kB / 1.579 GB, free: 11.39 MB / 1.279 GB Notification: Performance of pre-optimization done (n=24): time 1.773e-06/0.6931, allocations: 4 kB / 1.579 GB, free: 11.38 MB / 1.279 GB Notification: Performance of matching and sorting (n=24): time 0.001205/0.6943, allocations: 475.2 kB / 1.579 GB, free: 10.91 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.6944, allocations: 55.41 kB / 1.579 GB, free: 10.85 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.696, allocations: 1.106 MB / 1.58 GB, free: 9.727 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 5.948e-05/0.6961, allocations: 37.69 kB / 1.58 GB, free: 9.684 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004986/0.6966, allocations: 0.5087 MB / 1.581 GB, free: 9.172 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 9.87e-05/0.6967, allocations: 99.2 kB / 1.581 GB, free: 9.074 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.6969, allocations: 90.08 kB / 1.581 GB, free: 8.98 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.697, allocations: 326 kB / 1.581 GB, free: 8.656 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.6973, allocations: 132.7 kB / 1.581 GB, free: 8.527 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005052/0.6978, allocations: 383.2 kB / 1.582 GB, free: 8.043 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007/0.6985, allocations: 467.5 kB / 1.582 GB, free: 7.5 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.6985, allocations: 0 / 1.582 GB, free: 7.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001079/0.6996, allocations: 0.5472 MB / 1.583 GB, free: 6.945 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.6996, allocations: 11.94 kB / 1.583 GB, free: 6.934 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.6996, allocations: 8 kB / 1.583 GB, free: 6.926 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.6996, allocations: 8 kB / 1.583 GB, free: 6.918 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.7, allocations: 87.83 kB / 1.583 GB, free: 6.832 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/0.7, allocations: 12.55 kB / 1.583 GB, free: 6.82 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007484/0.7008, allocations: 111.2 kB / 1.583 GB, free: 6.711 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-05/0.7008, allocations: 27.98 kB / 1.583 GB, free: 6.684 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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.0004457/0.7013, allocations: 281.7 kB / 1.583 GB, free: 6.398 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.7015, allocations: 107.3 kB / 1.583 GB, free: 6.293 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008486/0.7023, allocations: 436.4 kB / 1.584 GB, free: 5.855 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.7024, allocations: 4 kB / 1.584 GB, free: 5.852 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.7024, allocations: 0 / 1.584 GB, free: 5.852 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/0.7024, allocations: 3.984 kB / 1.584 GB, free: 5.848 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/0.7049, allocations: 1.518 MB / 1.585 GB, free: 4.227 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.705, allocations: 7.938 kB / 1.585 GB, free: 4.219 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.7051, allocations: 47.84 kB / 1.585 GB, free: 4.172 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/0.7051, allocations: 8 kB / 1.585 GB, free: 4.164 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.7052, allocations: 12 kB / 1.585 GB, free: 4.152 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/0.7052, allocations: 7.938 kB / 1.585 GB, free: 4.145 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.7052, allocations: 4 kB / 1.585 GB, free: 4.141 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007559/0.7059, allocations: 0.5868 MB / 1.586 GB, free: 3.484 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004125/0.7064, allocations: 171.1 kB / 1.586 GB, free: 3.316 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.7065, allocations: 11.98 kB / 1.586 GB, free: 3.305 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/0.707, allocations: 15.98 kB / 1.586 GB, free: 3.289 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.707, allocations: 31.84 kB / 1.586 GB, free: 3.258 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.707, allocations: 16 kB / 1.586 GB, free: 3.242 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001223/0.7083, allocations: 0.7822 MB / 1.587 GB, free: 2.453 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/0.7083, allocations: 0 / 1.587 GB, free: 2.453 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0009674/0.7092, allocations: 283.4 kB / 1.587 GB, free: 2.176 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00155/0.7108, allocations: 1.329 MB / 1.588 GB, free: 0.7695 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0007052/0.7115, allocations: 335.5 kB / 1.589 GB, free: 452 kB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.7115, allocations: 0 / 1.589 GB, free: 452 kB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.7117, allocations: 146.2 kB / 1.589 GB, free: 308 kB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/0.7142, allocations: 0.5058 MB / 1.589 GB, free: 15.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.7259, allocations: 7.446 MB / 1.597 GB, free: 7.941 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008594/0.7267, allocations: 1.063 MB / 1.598 GB, free: 6.852 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0007719/0.7275, allocations: 200 kB / 1.598 GB, free: 6.66 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005533/0.728, allocations: 363.3 kB / 1.598 GB, free: 6.305 MB / 1.295 GB Notification: Performance of SimCode: time 7.51e-07/0.728, allocations: 0 / 1.598 GB, free: 6.305 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6606/1.389, allocations: 28.45 MB / 1.626 GB, free: 315.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.82, allocations: 1.688 kB / 1.626 GB, free: 315.4 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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: 21.379428687971085]