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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 114.7 kB / 17.6 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 189.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.728/2.728, allocations: 476.7 MB / 0.7629 GB, free: 15.05 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 71.89 kB / 1.107 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8833/0.8853, allocations: 168.7 MB / 1.272 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.294/1.179, allocations: 251 MB / 1.517 GB, free: 9.426 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02924/1.209, allocations: 22.57 MB / 1.539 GB, free: 2.789 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/1.21, allocations: 51.69 kB / 1.539 GB, free: 2.738 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002782/1.213, allocations: 0.9976 MB / 1.54 GB, free: 1.734 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004292/1.217, allocations: 1.523 MB / 1.541 GB, free: 212 kB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.005105/1.222, allocations: 1.978 MB / 1.543 GB, free: 14.23 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004195/1.227, allocations: 2.663 MB / 1.546 GB, free: 11.56 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/1.228, allocations: 0.9768 MB / 1.547 GB, free: 10.54 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002955/1.231, allocations: 1.358 MB / 1.548 GB, free: 9.176 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/1.233, allocations: 0.9728 MB / 1.549 GB, free: 8.199 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001983/1.233, allocations: 108 kB / 1.549 GB, free: 8.094 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00353/1.237, allocations: 1.769 MB / 1.551 GB, free: 6.32 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004713/1.237, allocations: 390.7 kB / 1.551 GB, free: 5.938 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008553/1.238, allocations: 0.6376 MB / 1.552 GB, free: 5.297 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003752/1.242, allocations: 2.285 MB / 1.554 GB, free: 3.004 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.242, allocations: 0 / 1.554 GB, free: 3.004 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.583e-06/1.242, allocations: 0 / 1.554 GB, free: 3.004 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.43e-05/1.242, allocations: 0 / 1.554 GB, free: 3.004 MB / 1.232 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.002274/1.244, allocations: 1.505 MB / 1.555 GB, free: 1.445 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/1.244, allocations: 12.03 kB / 1.555 GB, free: 1.434 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/1.244, allocations: 147.5 kB / 1.556 GB, free: 1.281 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/1.245, allocations: 239 kB / 1.556 GB, free: 1.047 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/1.247, allocations: 0.9164 MB / 1.557 GB, free: 88 kB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/1.247, allocations: 184.8 kB / 1.557 GB, free: 15.88 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/1.247, allocations: 95.94 kB / 1.557 GB, free: 15.79 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/1.249, allocations: 0.9324 MB / 1.558 GB, free: 14.82 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/1.249, allocations: 3.938 kB / 1.558 GB, free: 14.82 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.773e-05/1.249, allocations: 36 kB / 1.558 GB, free: 14.78 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/1.249, allocations: 20 kB / 1.558 GB, free: 14.76 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/1.25, allocations: 0.6285 MB / 1.559 GB, free: 14.14 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.005374/1.256, allocations: 4.444 MB / 1.563 GB, free: 9.297 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/1.256, allocations: 182.5 kB / 1.563 GB, free: 9.109 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/1.256, allocations: 140.7 kB / 1.563 GB, free: 8.969 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/1.257, allocations: 1.021 MB / 1.564 GB, free: 7.727 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/1.257, allocations: 42.44 kB / 1.564 GB, free: 7.676 MB / 1.248 GB Notification: Performance of pre-optimization done (n=24): time 5.821e-06/1.257, allocations: 4 kB / 1.564 GB, free: 7.672 MB / 1.248 GB Notification: Performance of matching and sorting (n=24): time 0.001189/1.259, allocations: 474.1 kB / 1.565 GB, free: 7.203 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/1.259, allocations: 51.41 kB / 1.565 GB, free: 7.141 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/1.26, allocations: 1.102 MB / 1.566 GB, free: 6.023 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.063e-05/1.26, allocations: 33.7 kB / 1.566 GB, free: 5.984 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004609/1.261, allocations: 0.5165 MB / 1.566 GB, free: 5.465 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 9.046e-05/1.261, allocations: 95.19 kB / 1.566 GB, free: 5.371 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/1.261, allocations: 102 kB / 1.567 GB, free: 5.266 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.261, allocations: 318 kB / 1.567 GB, free: 4.949 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/1.261, allocations: 128.8 kB / 1.567 GB, free: 4.824 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000502/1.262, allocations: 391.1 kB / 1.567 GB, free: 4.328 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006422/1.263, allocations: 471.5 kB / 1.568 GB, free: 3.781 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.263, allocations: 0 / 1.568 GB, free: 3.781 MB / 1.248 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001011/1.264, allocations: 0.5434 MB / 1.568 GB, free: 3.23 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/1.264, allocations: 11.94 kB / 1.568 GB, free: 3.219 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/1.264, allocations: 8 kB / 1.568 GB, free: 3.211 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/1.264, allocations: 8 kB / 1.568 GB, free: 3.203 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/1.264, allocations: 91.83 kB / 1.568 GB, free: 3.113 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/1.264, allocations: 8 kB / 1.568 GB, free: 3.105 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006632/1.265, allocations: 99.77 kB / 1.569 GB, free: 3.008 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.656e-05/1.265, allocations: 24 kB / 1.569 GB, free: 2.984 MB / 1.248 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.0004299/1.265, allocations: 289.6 kB / 1.569 GB, free: 2.691 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/1.265, allocations: 111.2 kB / 1.569 GB, free: 2.582 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007812/1.266, allocations: 430.4 kB / 1.569 GB, free: 2.152 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/1.266, allocations: 4 kB / 1.569 GB, free: 2.148 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.266, allocations: 0 / 1.569 GB, free: 2.148 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.266, allocations: 0 / 1.569 GB, free: 2.148 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/1.268, allocations: 1.547 MB / 1.571 GB, free: 0.4922 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/1.268, allocations: 12 kB / 1.571 GB, free: 492 kB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/1.269, allocations: 43.92 kB / 1.571 GB, free: 448 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/1.269, allocations: 12.22 kB / 1.571 GB, free: 436 kB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/1.269, allocations: 8 kB / 1.571 GB, free: 428 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/1.269, allocations: 7.938 kB / 1.571 GB, free: 420 kB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/1.269, allocations: 7.984 kB / 1.571 GB, free: 412 kB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007185/1.269, allocations: 0.5926 MB / 1.572 GB, free: 15.74 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/1.27, allocations: 240.3 kB / 1.572 GB, free: 15.48 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/1.27, allocations: 19.92 kB / 1.572 GB, free: 15.46 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/1.27, allocations: 11.98 kB / 1.572 GB, free: 15.45 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/1.27, allocations: 27.86 kB / 1.572 GB, free: 15.43 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/1.27, allocations: 20 kB / 1.572 GB, free: 15.41 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001099/1.271, allocations: 0.7783 MB / 1.573 GB, free: 14.62 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/1.271, allocations: 0 / 1.573 GB, free: 14.62 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009435/1.272, allocations: 287.4 kB / 1.573 GB, free: 14.34 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.001628/1.274, allocations: 1.347 MB / 1.574 GB, free: 12.92 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.000664/1.275, allocations: 328.7 kB / 1.575 GB, free: 12.6 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.275, allocations: 4.062 kB / 1.575 GB, free: 12.59 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002152/1.275, allocations: 131.8 kB / 1.575 GB, free: 12.46 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/1.277, allocations: 0.5228 MB / 1.575 GB, free: 11.95 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/1.288, allocations: 7.44 MB / 1.582 GB, free: 4.105 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000746/1.288, allocations: 1.063 MB / 1.583 GB, free: 3.016 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0007574/1.289, allocations: 194.8 kB / 1.584 GB, free: 2.828 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/1.29, allocations: 367.3 kB / 1.584 GB, free: 2.469 MB / 1.264 GB Notification: Performance of SimCode: time 1.253e-06/1.29, allocations: 0 / 1.584 GB, free: 2.469 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06469/1.354, allocations: 28.17 MB / 1.612 GB, free: 6.633 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/11.39, allocations: 1.375 kB / 1.612 GB, free: 6.633 MB / 1.295 GB " [Timeout remaining time 289] (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 --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_2/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: 17.26490129099693]