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.001793/0.001793, allocations: 117.4 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.002215/0.002215, allocations: 214.3 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.47/1.47, 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 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.787/2.787, allocations: 476.7 MB / 0.7678 GB, free: 9.375 MB / 0.6075 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",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.002041/0.002041, allocations: 59.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8539/0.8559, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3001/1.156, allocations: 253.2 MB / 1.526 GB, free: 14.41 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02971/1.186, allocations: 22.44 MB / 1.548 GB, free: 7.895 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001915/1.188, allocations: 83.31 kB / 1.548 GB, free: 7.812 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.00289/1.191, allocations: 0.9937 MB / 1.549 GB, free: 6.812 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004343/1.195, allocations: 1.516 MB / 1.551 GB, free: 5.289 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.005029/1.2, allocations: 1.961 MB / 1.553 GB, free: 3.332 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004348/1.204, allocations: 2.678 MB / 1.555 GB, free: 0.6445 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/1.206, allocations: 1.028 MB / 1.556 GB, free: 15.58 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003206/1.209, allocations: 1.378 MB / 1.558 GB, free: 14.2 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/1.211, allocations: 0.9494 MB / 1.558 GB, free: 13.24 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002087/1.211, allocations: 112 kB / 1.559 GB, free: 13.13 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003767/1.215, allocations: 1.831 MB / 1.56 GB, free: 11.3 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.000553/1.216, allocations: 386.7 kB / 1.561 GB, free: 10.92 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0009613/1.217, allocations: 0.6415 MB / 1.561 GB, free: 10.27 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.004261/1.221, allocations: 2.355 MB / 1.564 GB, free: 7.91 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/1.221, allocations: 3.984 kB / 1.564 GB, free: 7.906 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.134e-06/1.221, allocations: 0 / 1.564 GB, free: 7.906 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.841e-05/1.221, allocations: 0 / 1.564 GB, free: 7.906 MB / 1.248 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.002345/1.223, allocations: 1.512 MB / 1.565 GB, free: 6.344 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.223, allocations: 12.03 kB / 1.565 GB, free: 6.332 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.383e-05/1.223, allocations: 22 kB / 1.565 GB, free: 6.309 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001645/1.223, allocations: 139.5 kB / 1.565 GB, free: 6.164 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/1.225, allocations: 239 kB / 1.566 GB, free: 5.93 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/1.226, allocations: 0.9202 MB / 1.566 GB, free: 4.969 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/1.226, allocations: 192.7 kB / 1.567 GB, free: 4.754 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/1.226, allocations: 92 kB / 1.567 GB, free: 4.664 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/1.228, allocations: 0.9285 MB / 1.568 GB, free: 3.703 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/1.228, allocations: 0 / 1.568 GB, free: 3.703 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.849e-05/1.228, allocations: 36 kB / 1.568 GB, free: 3.668 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/1.228, allocations: 24 kB / 1.568 GB, free: 3.645 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/1.229, allocations: 0.6246 MB / 1.568 GB, free: 3.016 MB / 1.248 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.005367/1.235, allocations: 4.448 MB / 1.573 GB, free: 14.18 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/1.235, allocations: 184.7 kB / 1.573 GB, free: 13.99 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/1.235, allocations: 132.9 kB / 1.573 GB, free: 13.86 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/1.237, allocations: 1.021 MB / 1.574 GB, free: 12.61 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/1.237, allocations: 38.5 kB / 1.574 GB, free: 12.57 MB / 1.264 GB Notification: Performance of pre-optimization done (n=24): time 1.933e-06/1.237, allocations: 0 / 1.574 GB, free: 12.57 MB / 1.264 GB Notification: Performance of matching and sorting (n=24): time 0.001226/1.238, allocations: 477.7 kB / 1.574 GB, free: 12.09 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/1.238, allocations: 51.41 kB / 1.574 GB, free: 12.03 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/1.24, allocations: 1.106 MB / 1.576 GB, free: 10.91 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/1.24, allocations: 33.7 kB / 1.576 GB, free: 10.87 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004572/1.24, allocations: 0.5126 MB / 1.576 GB, free: 10.36 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 9.097e-05/1.24, allocations: 99.14 kB / 1.576 GB, free: 10.26 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/1.24, allocations: 94.08 kB / 1.576 GB, free: 10.16 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.24, allocations: 318 kB / 1.577 GB, free: 9.844 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/1.241, allocations: 132.8 kB / 1.577 GB, free: 9.715 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004999/1.241, allocations: 387.1 kB / 1.577 GB, free: 9.227 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006563/1.242, allocations: 475.5 kB / 1.578 GB, free: 8.676 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/1.242, allocations: 3.938 kB / 1.578 GB, free: 8.672 MB / 1.264 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001042/1.243, allocations: 0.5437 MB / 1.578 GB, free: 8.121 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.243, allocations: 8 kB / 1.578 GB, free: 8.113 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.243, allocations: 8.281 kB / 1.578 GB, free: 8.105 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/1.243, allocations: 8 kB / 1.578 GB, free: 8.098 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/1.243, allocations: 87.84 kB / 1.578 GB, free: 8.012 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/1.243, allocations: 15.92 kB / 1.578 GB, free: 7.996 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006855/1.244, allocations: 103.2 kB / 1.578 GB, free: 7.895 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/1.244, allocations: 24 kB / 1.578 GB, free: 7.871 MB / 1.264 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.0004092/1.244, allocations: 289.7 kB / 1.579 GB, free: 7.578 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/1.245, allocations: 111.3 kB / 1.579 GB, free: 7.469 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007809/1.245, allocations: 419.6 kB / 1.579 GB, free: 7.043 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/1.245, allocations: 4 kB / 1.579 GB, free: 7.039 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.245, allocations: 0 / 1.579 GB, free: 7.039 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.245, allocations: 4 kB / 1.579 GB, free: 7.035 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/1.248, allocations: 1.554 MB / 1.581 GB, free: 5.371 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/1.248, allocations: 4.562 kB / 1.581 GB, free: 5.367 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/1.248, allocations: 51.91 kB / 1.581 GB, free: 5.316 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/1.248, allocations: 8 kB / 1.581 GB, free: 5.309 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/1.248, allocations: 8 kB / 1.581 GB, free: 5.301 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/1.248, allocations: 4 kB / 1.581 GB, free: 5.297 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.994e-06/1.248, allocations: 7.938 kB / 1.581 GB, free: 5.289 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007045/1.249, allocations: 0.5833 MB / 1.581 GB, free: 4.637 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003243/1.249, allocations: 244.2 kB / 1.582 GB, free: 4.379 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/1.249, allocations: 12 kB / 1.582 GB, free: 4.367 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004209/1.25, allocations: 15.98 kB / 1.582 GB, free: 4.352 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/1.25, allocations: 31.84 kB / 1.582 GB, free: 4.32 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/1.25, allocations: 16 kB / 1.582 GB, free: 4.305 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001065/1.251, allocations: 0.7783 MB / 1.582 GB, free: 3.52 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/1.251, allocations: 4 kB / 1.582 GB, free: 3.516 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009545/1.252, allocations: 291.4 kB / 1.583 GB, free: 3.23 MB / 1.264 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.001474/1.253, allocations: 1.326 MB / 1.584 GB, free: 1.828 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0006659/1.254, allocations: 329 kB / 1.584 GB, free: 1.508 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.254, allocations: 0 / 1.584 GB, free: 1.508 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/1.254, allocations: 135.7 kB / 1.584 GB, free: 1.375 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/1.256, allocations: 0.5183 MB / 1.585 GB, free: 0.8633 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/1.267, allocations: 7.434 MB / 1.592 GB, free: 9.016 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007965/1.268, allocations: 1.071 MB / 1.593 GB, free: 7.918 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0007648/1.269, allocations: 199.5 kB / 1.593 GB, free: 7.727 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000512/1.269, allocations: 359.3 kB / 1.594 GB, free: 7.375 MB / 1.279 GB Notification: Performance of SimCode: time 1.102e-06/1.269, allocations: 0 / 1.594 GB, free: 7.375 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0565/1.326, allocations: 28.15 MB / 1.621 GB, free: 11.61 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/12.03, allocations: 4.062 kB / 1.621 GB, free: 11.61 MB / 1.311 GB " [Timeout remaining time 288] (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: 18.350463805021718]