Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001866/0.001866, allocations: 116.1 kB / 17.16 MB, free: 6 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.003054/0.003054, allocations: 209.5 kB / 20.13 MB, free: 3.051 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.464/1.464, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.893/2.893, allocations: 0.5003 GB / 0.8026 GB, free: 6.715 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_latest_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.00194/0.00194, allocations: 75.89 kB / 1.165 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9456/0.9475, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.311/1.259, allocations: 253.2 MB / 1.587 GB, free: 10.64 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.03097/1.29, allocations: 22.44 MB / 1.609 GB, free: 4.129 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/1.291, allocations: 79.25 kB / 1.609 GB, free: 4.051 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.002794/1.294, allocations: 0.9937 MB / 1.61 GB, free: 3.051 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.003962/1.298, allocations: 1.526 MB / 1.612 GB, free: 1.52 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.004619/1.303, allocations: 1.962 MB / 1.614 GB, free: 15.56 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.003627/1.306, allocations: 2.673 MB / 1.616 GB, free: 12.88 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/1.308, allocations: 1.035 MB / 1.617 GB, free: 11.81 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00354/1.312, allocations: 1.604 MB / 1.619 GB, free: 10.2 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/1.313, allocations: 0.9533 MB / 1.62 GB, free: 9.246 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0001696/1.313, allocations: 112 kB / 1.62 GB, free: 9.137 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00374/1.317, allocations: 1.804 MB / 1.622 GB, free: 7.328 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0005313/1.318, allocations: 382.7 kB / 1.622 GB, free: 6.953 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0008554/1.318, allocations: 0.6338 MB / 1.623 GB, free: 6.316 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.003388/1.322, allocations: 2.367 MB / 1.625 GB, free: 3.941 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.322, allocations: 0 / 1.625 GB, free: 3.941 MB / 1.295 GB Notification: Performance of FrontEnd: time 4.048e-06/1.322, allocations: 3.984 kB / 1.625 GB, free: 3.938 MB / 1.295 GB Notification: Performance of Transformations before backend: time 2.2e-05/1.322, allocations: 3.938 kB / 1.625 GB, free: 3.934 MB / 1.295 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.002287/1.324, allocations: 1.513 MB / 1.627 GB, free: 2.363 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/1.324, allocations: 8.031 kB / 1.627 GB, free: 2.355 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.896e-05/1.324, allocations: 30 kB / 1.627 GB, free: 2.328 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/1.324, allocations: 143.5 kB / 1.627 GB, free: 2.18 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/1.326, allocations: 243 kB / 1.627 GB, free: 1.941 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/1.327, allocations: 0.9319 MB / 1.628 GB, free: 0.9648 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/1.327, allocations: 188.8 kB / 1.628 GB, free: 0.7578 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/1.327, allocations: 88 kB / 1.628 GB, free: 0.6719 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/1.329, allocations: 0.9325 MB / 1.629 GB, free: 15.7 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/1.329, allocations: 3.938 kB / 1.629 GB, free: 15.7 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.043e-05/1.329, allocations: 36 kB / 1.629 GB, free: 15.66 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/1.329, allocations: 24 kB / 1.629 GB, free: 15.64 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/1.33, allocations: 0.6324 MB / 1.63 GB, free: 15.01 MB / 1.311 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.004993/1.335, allocations: 4.441 MB / 1.634 GB, free: 10.18 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/1.336, allocations: 174.7 kB / 1.634 GB, free: 9.996 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/1.336, allocations: 140.9 kB / 1.634 GB, free: 9.855 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/1.337, allocations: 1.021 MB / 1.635 GB, free: 8.613 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/1.337, allocations: 42.48 kB / 1.635 GB, free: 8.562 MB / 1.311 GB Notification: Performance of pre-optimization done (n=24): time 1.863e-06/1.337, allocations: 0 / 1.635 GB, free: 8.562 MB / 1.311 GB Notification: Performance of matching and sorting (n=24): time 0.001074/1.338, allocations: 471.1 kB / 1.636 GB, free: 8.098 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/1.338, allocations: 59.34 kB / 1.636 GB, free: 8.027 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/1.339, allocations: 1.122 MB / 1.637 GB, free: 6.891 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/1.339, allocations: 33.7 kB / 1.637 GB, free: 6.852 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004401/1.34, allocations: 0.5166 MB / 1.638 GB, free: 6.332 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 7.593e-05/1.34, allocations: 91.25 kB / 1.638 GB, free: 6.242 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/1.34, allocations: 102 kB / 1.638 GB, free: 6.137 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.34, allocations: 322 kB / 1.638 GB, free: 5.816 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/1.34, allocations: 128.8 kB / 1.638 GB, free: 5.688 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004688/1.341, allocations: 383.1 kB / 1.639 GB, free: 5.203 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006412/1.342, allocations: 471.5 kB / 1.639 GB, free: 4.656 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/1.342, allocations: 4 kB / 1.639 GB, free: 4.652 MB / 1.311 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009493/1.343, allocations: 0.5473 MB / 1.64 GB, free: 4.098 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/1.343, allocations: 8 kB / 1.64 GB, free: 4.09 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/1.343, allocations: 11.98 kB / 1.64 GB, free: 4.078 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.343, allocations: 8 kB / 1.64 GB, free: 4.07 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/1.343, allocations: 91.83 kB / 1.64 GB, free: 3.98 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/1.343, allocations: 8 kB / 1.64 GB, free: 3.973 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006463/1.344, allocations: 111.7 kB / 1.64 GB, free: 3.863 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/1.344, allocations: 24 kB / 1.64 GB, free: 3.84 MB / 1.311 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.0003917/1.344, allocations: 285.6 kB / 1.64 GB, free: 3.551 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/1.344, allocations: 111.2 kB / 1.64 GB, free: 3.441 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000757/1.345, allocations: 425.1 kB / 1.641 GB, free: 3.016 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/1.345, allocations: 8 kB / 1.641 GB, free: 3.008 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/1.345, allocations: 288 / 1.641 GB, free: 3.008 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/1.345, allocations: 3.938 kB / 1.641 GB, free: 3.004 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/1.347, allocations: 1.562 MB / 1.642 GB, free: 1.332 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.347, allocations: 4 kB / 1.642 GB, free: 1.328 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/1.347, allocations: 43.91 kB / 1.642 GB, free: 1.285 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/1.347, allocations: 4 kB / 1.642 GB, free: 1.281 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/1.347, allocations: 12 kB / 1.642 GB, free: 1.27 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.221e-05/1.348, allocations: 11.92 kB / 1.642 GB, free: 1.258 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.348, allocations: 8 kB / 1.642 GB, free: 1.25 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007563/1.348, allocations: 0.5822 MB / 1.643 GB, free: 0.5977 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003203/1.349, allocations: 244.3 kB / 1.643 GB, free: 348 kB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/1.349, allocations: 7.984 kB / 1.643 GB, free: 340 kB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004134/1.349, allocations: 19.98 kB / 1.643 GB, free: 320 kB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/1.349, allocations: 27.86 kB / 1.643 GB, free: 292 kB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/1.349, allocations: 16 kB / 1.643 GB, free: 276 kB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001152/1.35, allocations: 0.7865 MB / 1.644 GB, free: 15.48 MB / 1.326 GB Notification: Performance of sort global known variables: time 8e-08/1.35, allocations: 0 / 1.644 GB, free: 15.48 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.0009631/1.351, allocations: 291.3 kB / 1.644 GB, free: 15.19 MB / 1.326 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.001488/1.353, allocations: 1.324 MB / 1.645 GB, free: 13.79 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.0006616/1.353, allocations: 339.5 kB / 1.646 GB, free: 13.46 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.353, allocations: 0 / 1.646 GB, free: 13.46 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.0002156/1.354, allocations: 134 kB / 1.646 GB, free: 13.33 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/1.356, allocations: 0.5154 MB / 1.646 GB, free: 12.82 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/1.367, allocations: 7.477 MB / 1.654 GB, free: 4.918 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000753/1.367, allocations: 1.063 MB / 1.655 GB, free: 3.828 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.0007277/1.368, allocations: 200.5 kB / 1.655 GB, free: 3.637 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005035/1.369, allocations: 367 kB / 1.655 GB, free: 3.285 MB / 1.326 GB Notification: Performance of SimCode: time 1.062e-06/1.369, allocations: 0 / 1.655 GB, free: 3.285 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05484/1.424, allocations: 28.23 MB / 1.683 GB, free: 7.438 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/12.3, allocations: 12.17 kB / 1.683 GB, free: 7.43 MB / 1.357 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.763042846985627]